Skip to content
Snippets Groups Projects
Commit 9cb53f34 authored by Renzo Frigato's avatar Renzo Frigato
Browse files

fix infinite loop issue on downloads

parent 0f8b80aa
No related branches found
No related tags found
No related merge requests found
...@@ -107,6 +107,7 @@ class Download(base.RequestHandler): ...@@ -107,6 +107,7 @@ class Download(base.RequestHandler):
modified_path = path + '_' + str(i) modified_path = path + '_' + str(i)
if modified_path not in list_used_subpaths: if modified_path not in list_used_subpaths:
return modified_path return modified_path
i += 1
path = None path = None
if not path and container.get('label'): if not path and container.get('label'):
path = container['label'] path = container['label']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment