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 return files
async def _download(self, orga, files, transform, unzip): 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 # Yes, we want the zip file contents
if unzip(path): if unzip(path):
logger.debug(f"Downloading and unzipping {path}") logger.debug(f"Downloading and unzipping {path}")