Attempt to fix the Windows regression test weirdness.

This commit is contained in:
Khushboo Vashi authored and Dave Page committed 2019-03-18 09:30:08 +00:00
1 parent 8c5894dd6a
commit 31e17f025b
1 file changed
+1 -1
+1 -1
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)