Remove unneeded colorama.init().

We don't want colorama to replace stdout/stderr, so we shouldn't call .init()
at all.
This commit is contained in:
Florian Bruhin 2014-08-01 23:47:44 +02:00
parent 9dd688095c
commit 2691e6bb6b

View File

@ -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, '{')