fix
This commit is contained in:
@@ -249,7 +249,7 @@ def get_video_data(w, groups=['basic'], mode='water'):
|
|||||||
df2 = pd.concat([df2, coordinates], axis=1)
|
df2 = pd.concat([df2, coordinates], axis=1)
|
||||||
latitude = df2['latitude']
|
latitude = df2['latitude']
|
||||||
longitude = df2['longitude']
|
longitude = df2['longitude']
|
||||||
boatspeed = (100*df2['velo']).astype(int)/100.
|
boatspeed = (100*df2['velo'].fillna(method='ffill')).astype(int)/100.
|
||||||
|
|
||||||
# bundle data
|
# bundle data
|
||||||
data = {
|
data = {
|
||||||
|
|||||||
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
Binary file not shown.
@@ -38,11 +38,10 @@ def rower_process_fakturoidcallback(request):
|
|||||||
return HttpResponseRedirect(reverse('workouts_view'))
|
return HttpResponseRedirect(reverse('workouts_view'))
|
||||||
|
|
||||||
post_data = {
|
post_data = {
|
||||||
# 'code': code,
|
'code': code,
|
||||||
# 'grant_type': "authorization_code",
|
'grant_type': "authorization_code",
|
||||||
'grant_type': "client_credentials",
|
# 'grant_type': "client_credentials",
|
||||||
# 'redirect_uri': FAKTUROID_REDIRECT_URI,
|
'redirect_uri': FAKTUROID_REDIRECT_URI,
|
||||||
# "client_id": FAKTUROID_CLIENT_ID,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
auth_string = f"{FAKTUROID_CLIENT_ID}:{FAKTUROID_CLIENT_SECRET}"
|
auth_string = f"{FAKTUROID_CLIENT_ID}:{FAKTUROID_CLIENT_SECRET}"
|
||||||
|
|||||||
Reference in New Issue
Block a user