From 36efbc15bd7c14323598ecf7ca2b397a637ee102 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Tue, 10 Mar 2020 18:01:32 +0100 Subject: [PATCH] forgot to save --- rowers/uploads.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rowers/uploads.py b/rowers/uploads.py index ef2f5a4e..0d4f3c29 100644 --- a/rowers/uploads.py +++ b/rowers/uploads.py @@ -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"