Skip to content

Commit

Permalink
fix: set chunk size to none
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickAlphaC committed Sep 11, 2024
1 parent a06513c commit e50831a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ zkrich1
default
secrets/
secret/
.DS_Store
2 changes: 1 addition & 1 deletion gaboon/commands/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def _stream_download(
unit_scale=True,
unit_divisor=1024,
) as progress_bar:
for data in response.iter_content(chunk_size=8192):
for data in response.iter_content(chunk_size=None):
size = f.write(data)
progress_bar.update(size)

Expand Down

0 comments on commit e50831a

Please sign in to comment.