Merge branch 'no_instances_write_fix'

This commit is contained in:
Casper da Costa-Luis 2016-07-18 21:40:39 +01:00
commit 92f5e938aa
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ class tqdm(object):
# Clear all bars
inst_cleared = []
for inst in cls._instances:
for inst in getattr(cls, '_instances', []):
# Clear instance if in the target output file
# or if write output + tqdm output are both either
# sys.stdout or sys.stderr (because both are mixed in terminal)