Avoid all terminal codes in --quiet mode

This commit is contained in:
Peter Eckersley 2016-04-04 10:38:49 -07:00
parent 6a11e171e8
commit 59d7c44bd6

View file

@ -102,5 +102,5 @@ class Reporter(object):
if len(lines) > 1:
print("\n".join(
next_wrapper.fill(line) for line in lines[1:]))
if bold_on:
if bold_on and not self.config.quiet:
sys.stdout.write(le_util.ANSI_SGR_RESET)