Private
Public Access
1
0
This commit is contained in:
2024-10-05 18:08:54 +02:00
parent c5f664c653
commit aa5852839b
3 changed files with 5 additions and 6 deletions

View File

@@ -249,7 +249,7 @@ def get_video_data(w, groups=['basic'], mode='water'):
df2 = pd.concat([df2, coordinates], axis=1)
latitude = df2['latitude']
longitude = df2['longitude']
boatspeed = (100*df2['velo']).astype(int)/100.
boatspeed = (100*df2['velo'].fillna(method='ffill')).astype(int)/100.
# bundle data
data = {

Binary file not shown.

View File

@@ -38,11 +38,10 @@ def rower_process_fakturoidcallback(request):
return HttpResponseRedirect(reverse('workouts_view'))
post_data = {
# 'code': code,
# 'grant_type': "authorization_code",
'grant_type': "client_credentials",
# 'redirect_uri': FAKTUROID_REDIRECT_URI,
# "client_id": FAKTUROID_CLIENT_ID,
'code': code,
'grant_type': "authorization_code",
# 'grant_type': "client_credentials",
'redirect_uri': FAKTUROID_REDIRECT_URI,
}
auth_string = f"{FAKTUROID_CLIENT_ID}:{FAKTUROID_CLIENT_SECRET}"