Private
Public Access
1
0

small refinement upload

This commit is contained in:
Sander Roosendaal
2017-11-08 15:16:05 +01:00
parent 29b93a00fd
commit 7acc41fa6f
3 changed files with 24 additions and 19 deletions

View File

@@ -8620,7 +8620,11 @@ def workout_upload_view(request,
r = getrower(request.user)
if (make_plot):
id = uploads.make_plot(r,w,f1,f2,plottype,t)
res,jobid = uploads.make_plot(r,w,f1,f2,plottype,t)
try:
request.session['async_tasks'] += [(jobid,'make_plot')]
except KeyError:
request.session['async_tasks'] = [(jobid,'make_plot')]
# upload to C2
if (upload_to_c2):