replacing keyword async with harmless alternative
This commit is contained in:
@@ -507,7 +507,7 @@ def make_private(w,options):
|
||||
|
||||
return 1
|
||||
|
||||
def do_sync(w,options, async=False):
|
||||
def do_sync(w,options, quick=False):
|
||||
try:
|
||||
upload_to_strava = options['upload_to_Strava']
|
||||
except KeyError:
|
||||
@@ -532,7 +532,7 @@ def do_sync(w,options, async=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,async=async
|
||||
w.user.user,w,quick=quick
|
||||
)
|
||||
except NoTokenError:
|
||||
id = 0
|
||||
|
||||
Reference in New Issue
Block a user