Private
Public Access
1
0

further improvements

This commit is contained in:
Sander Roosendaal
2020-02-09 14:18:53 +01:00
parent 02a37e9657
commit 79fef44e1a

View File

@@ -4473,8 +4473,16 @@ def workout_upload_api(request):
except NoTokenError:
pass
if upload_to_strava:
try:
message,id = stravastuff.workout_strava_upload(r.user,w)
except NoTokenError:
pass
# add other export options
# sporttracks, runkeeper, underarmour, trainingpeaks
else: # form invalid
message = form.errors
return JsonResponse(status=400,data=message)