We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4189261 commit 7c37ed7Copy full SHA for 7c37ed7
tools/utils.py
@@ -54,7 +54,7 @@ def download(url: str, dst: str) -> None:
54
response.raise_for_status() # raise a meaningful (?) exception if there was e.g. a 404 error
55
os.makedirs(os.path.dirname(dst), exist_ok=True)
56
with open(dst, "wb") as f:
57
- for chunk in response.raw.stream(16384, decode_content=False):
+ for chunk in response.raw.stream(16384, decode_content=True):
58
if chunk:
59
f.write(chunk)
60
0 commit comments