Private
Public Access
1
0

forgot to save

This commit is contained in:
Sander Roosendaal
2020-03-10 18:01:32 +01:00
parent c7778e5dfb
commit 36efbc15bd

View File

@@ -535,7 +535,7 @@ def do_sync(w,options, quick=False):
if ('upload_to_Strava' in options and upload_to_strava) or (w.user.strava_auto_export and ispromember(w.user.user)):
try:
message,id = stravastuff.workout_strava_upload(
w.user.user,w,quick=quick
w.user.user,w,quick=quick,asynchron=True,
)
except NoTokenError:
id = 0
@@ -545,7 +545,7 @@ def do_sync(w,options, quick=False):
if ('upload_to_SportTracks' in options and options['upload_to_SportTracks']) or (w.user.sporttracks_auto_export and ispromember(w.user.user)):
try:
message,id = sporttracksstuff.workout_sporttracks_upload(
w.user.user,w
w.user.user,w,asynchron=True,
)
except NoTokenError:
message = "Please connect to SportTracks first"