1
0
Fork 0

Added a missing return True statement in _check_file

This commit is contained in:
Alexander Andreev 2021-05-03 02:30:31 +04:00
parent 4f6f56ae7b
commit e7cf2e7c4b
Signed by: Arav
GPG Key ID: 610DF2574456329F
1 changed files with 1 additions and 0 deletions

View File

@ -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."""