Private
Public Access
1
0

bug fixes

This commit is contained in:
Sander Roosendaal
2019-03-03 15:16:37 +01:00
parent 2d9c04159e
commit cd39a25e4c
5 changed files with 8 additions and 8 deletions

View File

@@ -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']