Added a missing return True statement in _check_file
This commit is contained in:
parent
4f6f56ae7b
commit
e7cf2e7c4b
@ -88,6 +88,7 @@ class Scraper:
|
|||||||
if not f.hash_algorithm is None:
|
if not f.hash_algorithm is None:
|
||||||
hexdig, dig = self._hash_file(filepath, f.hash_algorithm)
|
hexdig, dig = self._hash_file(filepath, f.hash_algorithm)
|
||||||
return f.hash_value == hexdig or f.hash_value == dig
|
return f.hash_value == hexdig or f.hash_value == dig
|
||||||
|
return True
|
||||||
|
|
||||||
def _download_file(self, f: FileInfo):
|
def _download_file(self, f: FileInfo):
|
||||||
"""Download a single file."""
|
"""Download a single file."""
|
||||||
|
Loading…
Reference in New Issue
Block a user