From 7c44d7c7e27e79b7606f12a397553d4cda75fcce Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 16 Dec 2013 17:23:52 +0100 Subject: disabled colored log on windows --- pyload/Core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyload/Core.py b/pyload/Core.py index 74739f800..2331d7412 100644 --- a/pyload/Core.py +++ b/pyload/Core.py @@ -509,7 +509,7 @@ class Core(object): fh_frm = logging.Formatter(fhfmt, datefmt) # console formatter - if self.config['log']['console_color']: + if self.config['log']['console_color'] and os.name != "nt": from lib.colorlog import ColoredFormatter if self.config['log']['color_theme'] == "full": -- cgit v1.2.3