fix: signin check (#27)

Fixes 每日签到功能异常 #26
This commit is contained in:
O1Si 2021-09-11 23:29:25 +08:00 committed by GitHub
parent 63c90dc8aa
commit 0fc20981c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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