Patch logging issue
This commit is contained in:
@@ -757,7 +757,7 @@ def http_get(url, temp_file, proxies=None, resume_size=0, user_agent: Union[Dict
|
||||
total=total,
|
||||
initial=resume_size,
|
||||
desc="Downloading",
|
||||
disable=bool(logging.get_verbosity() > logging.NOTSET),
|
||||
disable=bool(logging.get_verbosity() == logging.NOTSET),
|
||||
)
|
||||
for chunk in response.iter_content(chunk_size=1024):
|
||||
if chunk: # filter out keep-alive new chunks
|
||||
|
||||
Reference in New Issue
Block a user