From 4c53793d8ad6006a6db1bf4c5f3d2d8dbba36def Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Fri, 19 Jun 2015 08:09:48 +0100 Subject: [PATCH] silly unicode bugfix --- tqdm/_tqdm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tqdm/_tqdm.py b/tqdm/_tqdm.py index 42c9d84d..e3da1a7d 100644 --- a/tqdm/_tqdm.py +++ b/tqdm/_tqdm.py @@ -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 ''