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)
|
||||
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 = {
|
||||
|
||||
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'))
|
||||
|
||||
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}"
|
||||
|
||||
Reference in New Issue
Block a user