Update downloader.py from pymodules

This commit is contained in:
CorpNewt 2020-10-04 18:21:09 -05:00
parent 22092a6f47
commit be54353ff9

2
downloader.py Normal file → Executable file
View file

@ -127,4 +127,4 @@ class Downloader:
if progress: self._progress_hook(response, bytes_so_far, total_size)
if not chunk: break
f.write(chunk)
return file_path if os.path.exists(file_path) else None
return file_path if os.path.exists(file_path) else None