From 29f58c721ab513fbeee0d7364ae4b8f8e6791c82 Mon Sep 17 00:00:00 2001 From: Serge Rehbinder Date: Mon, 14 Nov 2016 15:17:22 +0100 Subject: [PATCH] Revert "fix for windows: clean colors for the display" This reverts commit 70ff5456ff1eac03d50c07e47ed2fcd60ac32df9. --- src/logger.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/logger.py b/src/logger.py index 1851b42..9f85f00 100644 --- a/src/logger.py +++ b/src/logger.py @@ -162,8 +162,7 @@ class Logger(object): # get user or option output level current_output_verbose_level = self.config.USER.output_verbose_level - if (src.architecture.is_windows() or - not ('isatty' in dir(sys.stdout) and sys.stdout.isatty())): + if not ('isatty' in dir(sys.stdout) and sys.stdout.isatty()): # clean the message color if the terminal is redirected by user # ex: sat compile appli > log.txt message = printcolors.cleancolor(message) -- 2.39.2