Fix setting stderr default coloring policy
stderr default should be set if stderr is None, not if stdout is None
This commit is contained in:
parent
ef17e86810
commit
57bf88aa30
@ -130,7 +130,7 @@ def main(args=None, app=None):
|
||||
if args.color_output is None and args.filter_esc:
|
||||
args.color_output = '31'
|
||||
|
||||
if args.color_output is None and os.isatty(sys.stderr.fileno()):
|
||||
if args.color_stderr is None and os.isatty(sys.stderr.fileno()):
|
||||
args.color_stderr = 31
|
||||
|
||||
if len(args.domains) > 1 and args.passio and not args.localcmd:
|
||||
|
Loading…
Reference in New Issue
Block a user