Black formatting

This commit is contained in:
Ivan Kravets
2022-11-02 13:08:36 +02:00
parent 1dd62361c7
commit 30fc00098d

View File

@ -72,7 +72,9 @@ class FileDownloader:
def start(self, with_progress=True, silent=False):
label = "Downloading"
file_size = self.get_size()
itercontent = self._http_response.iter_content(chunk_size=io.DEFAULT_BUFFER_SIZE)
itercontent = self._http_response.iter_content(
chunk_size=io.DEFAULT_BUFFER_SIZE
)
try:
with open(self._destination, "wb") as fp:
if file_size == -1 or not with_progress or silent: