passing some tests on py3, all on py2
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user