replacing keyword async with harmless alternative
This commit is contained in:
@@ -105,7 +105,7 @@ def workout_strava_upload_view(request,id=0):
|
||||
f,w.name,
|
||||
r.stravatoken,
|
||||
description=newnotes,
|
||||
activity_type=activity_type,async=False)
|
||||
activity_type=activity_type,quick=False)
|
||||
if res==0:
|
||||
messages.error(request,mes)
|
||||
w.uploadedtostrava = -1
|
||||
|
||||
@@ -4500,7 +4500,7 @@ def workout_upload_api(request):
|
||||
|
||||
w = Workout.objects.get(id=id)
|
||||
|
||||
uploads.do_sync(w,post_data,async=True)
|
||||
uploads.do_sync(w,post_data,quick=True)
|
||||
|
||||
if make_plot:
|
||||
res, jobid = uploads.make_plot(r,w,f1,f2,plottype,t)
|
||||
|
||||
Reference in New Issue
Block a user