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 1dd6236 commit 30fc000Copy full SHA for 30fc000
platformio/package/download.py
@@ -72,7 +72,9 @@ def get_size(self):
72
def start(self, with_progress=True, silent=False):
73
label = "Downloading"
74
file_size = self.get_size()
75
- itercontent = self._http_response.iter_content(chunk_size=io.DEFAULT_BUFFER_SIZE)
+ itercontent = self._http_response.iter_content(
76
+ chunk_size=io.DEFAULT_BUFFER_SIZE
77
+ )
78
try:
79
with open(self._destination, "wb") as fp:
80
if file_size == -1 or not with_progress or silent:
0 commit comments