From 991205efb69ec64f7f1b1458a02dfe9cda4653ab Mon Sep 17 00:00:00 2001 From: Womsxd <45663319+Womsxd@users.noreply.github.com> Date: Sun, 9 Jan 2022 18:20:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=BA=E5=88=B6utf-8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- push.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/push.py b/push.py index 1d0673f..f7d16c0 100644 --- a/push.py +++ b/push.py @@ -6,7 +6,8 @@ cfg = ConfigParser() def load_config(): - cfg.read(os.path.join(os.path.join(os.path.dirname(os.path.realpath(__file__)), 'config'),'push.ini')) + cfg.read(os.path.join(os.path.join(os.path.dirname(os.path.realpath(__file__)), 'config'), 'push.ini'), + encoding='utf-8') def title(status):