Attempt to fix the Windows regression test weirdness.

pull/22/head
Khushboo Vashi 2019-03-18 09:30:08 +00:00 committed by Dave Page
parent 8c5894dd6a
commit 31e17f025b
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ def create_app(app_name=None):
logger.addHandler(fh)
# Console logging
ch = logging.StreamHandler()
ch = logging.StreamHandler(sys.stdout.reconfigure(encoding='utf-8'))
ch.setLevel(config.CONSOLE_LOG_LEVEL)
ch.setFormatter(logging.Formatter(config.CONSOLE_LOG_FORMAT))
app.logger.addHandler(ch)