Really never echo terminal codes in quiet mode

This commit is contained in:
Peter Eckersley
2016-04-04 11:16:37 -07:00
parent f8867ab357
commit b567a54206
+3 -2
View File
@@ -95,8 +95,9 @@ class Reporter(object):
continue
if no_exception or msg.on_crash:
if bold_on and msg.priority > self.HIGH_PRIORITY:
sys.stdout.write(le_util.ANSI_SGR_RESET)
bold_on = False
if not self.config.quiet:
sys.stdout.write(le_util.ANSI_SGR_RESET)
bold_on = False
lines = msg.text.splitlines()
print(first_wrapper.fill(lines[0]))
if len(lines) > 1: