From e7cf2e7c4b747d987af2fc62718b1d731c9b6aa9 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Mon, 3 May 2021 02:30:31 +0400 Subject: [PATCH] Added a missing return True statement in _check_file --- scrapthechan/scraper.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scrapthechan/scraper.py b/scrapthechan/scraper.py index dfa1937..ece3cda 100644 --- a/scrapthechan/scraper.py +++ b/scrapthechan/scraper.py @@ -88,6 +88,7 @@ class Scraper: if not f.hash_algorithm is None: hexdig, dig = self._hash_file(filepath, f.hash_algorithm) return f.hash_value == hexdig or f.hash_value == dig + return True def _download_file(self, f: FileInfo): """Download a single file."""