Private
Public Access
1
0

c2 to async

This commit is contained in:
Sander Roosendaal
2020-03-09 22:11:35 +01:00
parent cd43218e84
commit 050db5b560
6 changed files with 72 additions and 23 deletions

View File

@@ -4500,11 +4500,10 @@ def workout_upload_api(request):
w = Workout.objects.get(id=id)
uploads.do_sync(w,post_data,quick=True)
if make_plot:
res, jobid = uploads.make_plot(r,w,f1,f2,plottype,t)
uploads.do_sync(w,post_data,quick=True)
else: # form invalid
if fstr:
@@ -4529,7 +4528,6 @@ def workout_upload_api(request):
}
)
email_sent = send_confirm(r.user, t, link, '')
return JSONResponse(status=statuscode,data=message)