From 0fc20981c10bdf6a7d53847fef2652f385d7dfbc Mon Sep 17 00:00:00 2001 From: O1Si <45961392+O1Si@users.noreply.github.com> Date: Sat, 11 Sep 2021 23:29:25 +0800 Subject: [PATCH] fix: signin check (#27) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes 每日签到功能异常 #26 --- utils/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/utils.py b/utils/utils.py index dffb236..e57c88e 100644 --- a/utils/utils.py +++ b/utils/utils.py @@ -37,6 +37,8 @@ def get_config() -> dict: config['MI_PASSWORD'] = md5_crypto(passwd) if config.get('SIGN_IN').upper() in ('Y', 'YES'): config['SIGN_IN'] = True + else: + config['SIGN_IN'] = False return config