Commit 59b123bc authored by thomwolf's avatar thomwolf
Browse files

fix tqdm logging level

parent ba2378ce
......@@ -292,7 +292,7 @@ def http_get(url, temp_file, proxies=None, resume_size=0, user_agent=None):
total=total,
initial=resume_size,
desc="Downloading",
disable=bool(logger.level <= logging.INFO),
disable=bool(logger.getEffectiveLevel() == logging.NOTSET),
)
for chunk in response.iter_content(chunk_size=1024):
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