From 5edd868d5bbd44b7c8acc3e31db1adfc5a91dae8 Mon Sep 17 00:00:00 2001 From: Joscha Date: Sun, 23 May 2021 18:49:34 +0200 Subject: [PATCH] Fix always-smart redownloading the wrong files --- PFERD/output_dir.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PFERD/output_dir.py b/PFERD/output_dir.py index 8d1c6b1..06cfe6b 100644 --- a/PFERD/output_dir.py +++ b/PFERD/output_dir.py @@ -208,7 +208,7 @@ class OutputDirectory: if remote_newer is None: return True else: - return not remote_newer + return remote_newer # This should never be reached raise ValueError(f"{redownload!r} is not a valid redownload policy")