From 616a8d96a25f1c50bade1d5325e3c5e124aaf5ff Mon Sep 17 00:00:00 2001 From: Joscha Date: Wed, 5 Dec 2018 11:44:35 +0000 Subject: [PATCH] Sort norbert files while downloading --- PFERD/norbert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PFERD/norbert.py b/PFERD/norbert.py index cf86eaa..fa1f566 100644 --- a/PFERD/norbert.py +++ b/PFERD/norbert.py @@ -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}")