From 2691e6bb6ba7a9bcf5f57ad86749b3099f1cb3cc Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 1 Aug 2014 23:47:44 +0200 Subject: [PATCH] Remove unneeded colorama.init(). We don't want colorama to replace stdout/stderr, so we shouldn't call .init() at all. --- qutebrowser/utils/log.py | 1 - 1 file changed, 1 deletion(-) diff --git a/qutebrowser/utils/log.py b/qutebrowser/utils/log.py index e497a0ac4..096213a2b 100644 --- a/qutebrowser/utils/log.py +++ b/qutebrowser/utils/log.py @@ -202,7 +202,6 @@ def _init_formatters(level, color): console_formatter = ColoredFormatter(console_fmt_colored, DATEFMT, log_colors=LOG_COLORS) if colorama: - colorama.init() use_colorama = True else: console_formatter = logging.Formatter(console_fmt, DATEFMT, '{')