"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "4eb61f8e88fafc07b9fa55069616a5fb38e49012"
Commit 05c32141 authored by Lysandre's avatar Lysandre
Browse files

Patch logging issue

parent dfa10a41
...@@ -757,7 +757,7 @@ def http_get(url, temp_file, proxies=None, resume_size=0, user_agent: Union[Dict ...@@ -757,7 +757,7 @@ def http_get(url, temp_file, proxies=None, resume_size=0, user_agent: Union[Dict
total=total, total=total,
initial=resume_size, initial=resume_size,
desc="Downloading", 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): for chunk in response.iter_content(chunk_size=1024):
if chunk: # filter out keep-alive new chunks if chunk: # filter out keep-alive new chunks
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment