summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-12-16 17:23:52 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-12-16 17:23:52 +0100
commit7c44d7c7e27e79b7606f12a397553d4cda75fcce (patch)
treeb5d1d6c1fcf963bcd806981c0432c60b52809a1f
parentfurther improved caching, removed locale switch because of to much side-effects (diff)
downloadpyload-7c44d7c7e27e79b7606f12a397553d4cda75fcce.tar.xz
disabled colored log on windows
-rw-r--r--pyload/Core.py2
1 files changed, 1 insertions, 1 deletions
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":