diff --git a/reporting/src2ans b/reporting/src2ans index 2da80c8..7d0cebc 100755 --- a/reporting/src2ans +++ b/reporting/src2ans @@ -67,9 +67,9 @@ for row in f: else: colored=bc.nocolor_string(row) sys.stdout.write(colored.encode('utf-8')) - if opts.zero: + if opts.zero and opts.color: sys.stdout.write(bc.Z) sys.stdout.write("\n") -if opts.zero_final: +if opts.zero_final and opts.color: sys.stdout.write(bc.Z.encode('utf-8')) - +