progress: bug fix with --quiet

Related to #1377
This commit is contained in:
Mr. Outis
2019-05-29 16:45:10 -07:00
parent a5922ccec1
commit e3b3f3f371
2 changed files with 11 additions and 6 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ class Progress(object):
logger = logging.getLogger(__name__)
if logger.getEffectiveLevel() == "CRITICAL":
if logger.getEffectiveLevel() == logging.CRITICAL:
return
print(*args, **kwargs)