mirror of
https://github.com/Garmelon/PFERD.git
synced 2023-12-21 10:23:01 +01:00
Fix always-smart redownloading the wrong files
This commit is contained in:
parent
e4e5e83be6
commit
5edd868d5b
@ -208,7 +208,7 @@ class OutputDirectory:
|
|||||||
if remote_newer is None:
|
if remote_newer is None:
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
return not remote_newer
|
return remote_newer
|
||||||
|
|
||||||
# This should never be reached
|
# This should never be reached
|
||||||
raise ValueError(f"{redownload!r} is not a valid redownload policy")
|
raise ValueError(f"{redownload!r} is not a valid redownload policy")
|
||||||
|
Loading…
Reference in New Issue
Block a user