1
0
mirror of https://github.com/Garmelon/PFERD.git synced 2023-12-21 10:23:01 +01:00

Sort norbert files while downloading

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

@ -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}")