Sort norbert files while downloading

This commit is contained in:
Joscha 2018-12-05 11:44:35 +00:00
parent f8cd5edb75
commit 616a8d96a2

View File

@ -69,7 +69,7 @@ class Norbert:
return files
async def _download(self, orga, files, transform, unzip):
for path, url in files:
for path, url in sorted(files):
# Yes, we want the zip file contents
if unzip(path):
logger.debug(f"Downloading and unzipping {path}")