mirror of https://github.com/tqdm/tqdm.git
silly unicode bugfix
This commit is contained in:
parent
86d6cfad2d
commit
4c53793d8a
|
@ -182,7 +182,7 @@ def tqdm(iterable, desc=None, total=None, leave=False, file=sys.stderr,
|
|||
dynamic_miniters = False
|
||||
|
||||
if ascii is None:
|
||||
ascii = _supports_unicode(file)
|
||||
ascii = not _supports_unicode(file)
|
||||
|
||||
prefix = desc+': ' if desc else ''
|
||||
|
||||
|
|
Loading…
Reference in New Issue