forgot to save
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user