mirror of
https://github.com/timsutton/brigadier.git
synced 2025-06-06 01:31:19 -04:00
Update downloader.py
This commit is contained in:
parent
a8d00cc4dc
commit
60afd988fd
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ class Downloader:
|
|||
process.join()
|
||||
return chunk_so_far
|
||||
|
||||
def stream_to_file(self, url, file_path, progress = True, headers = None, ensure_size_if_present = True, allow_resume = True):
|
||||
def stream_to_file(self, url, file_path, progress = True, headers = None, ensure_size_if_present = True, allow_resume = False):
|
||||
response = self.open_url(url, headers)
|
||||
if response is None: return None
|
||||
bytes_so_far = 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue