bug fixes
This commit is contained in:
@@ -731,6 +731,10 @@ def get_stored_tasks_status(request):
|
||||
progress = 0
|
||||
try:
|
||||
cached_progress = cache.get(id)
|
||||
if cached_progress is not None:
|
||||
cached_progress = int(cached_progress)
|
||||
else:
|
||||
cached_progress = 0
|
||||
except ValueError:
|
||||
cached_progress = 0
|
||||
finished = get_job_status(id)['finished']
|
||||
|
||||
Reference in New Issue
Block a user