From acdaf5a2dfe7a61fe00168ae96dcc750e9065a73 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Sun, 31 Oct 2021 20:56:03 +0800 Subject: Compat: remove encoding from logging config --- jimbrella/web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jimbrella/web.py b/jimbrella/web.py index dda2d9f..8a625ac 100644 --- a/jimbrella/web.py +++ b/jimbrella/web.py @@ -5,7 +5,7 @@ from .auth import bp as auth_bp from .config import * # this logger is shared across modules -logging.basicConfig(filename=LOG_PATH, encoding="utf-8", level=logging.DEBUG) +logging.basicConfig(filename=LOG_PATH, level=logging.DEBUG) app = Flask("jimbrella") app.secret_key = FLASK_SECRET_KEY -- cgit v1.2.3