Private
Public Access
1
0

passing some tests on py3, all on py2

This commit is contained in:
Sander Roosendaal
2019-02-25 21:03:30 +01:00
parent 199382a700
commit 617f1e5d9f
13 changed files with 56 additions and 606 deletions

View File

@@ -726,7 +726,10 @@ def get_stored_tasks_status(request):
taskstatus = []
for id,func_name in reversed(taskids):
progress = 0
cached_progress = cache.get(id)
try:
cached_progress = cache.get(id)
except ValueError:
cached_progress = 0
finished = get_job_status(id)['finished']
if finished:
cache.set(id,100)