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:
parent
9dd688095c
commit
2691e6bb6b
@ -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, '{')
|
||||
|
Loading…
Reference in New Issue
Block a user