From 2b07a34528298031fd87c07c4f52ddbf5d9bcd9c Mon Sep 17 00:00:00 2001 From: Pesy Wu Date: Mon, 6 Mar 2023 13:01:04 +0800 Subject: [PATCH] bug fix --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index b7a6738..23c01be 100644 --- a/main.py +++ b/main.py @@ -91,7 +91,7 @@ if __name__ == '__main__': print(f'为了避免同一时间签到人数太多导致被官方怀疑,开始休眠 {wait_time} 秒') time.sleep(wait_time) wallet = r.get(WalletURL, headers=headers) - if wallet.text == {"data":null,"message":"登录已失效,请重新登录","retcode":-100}: + if wallet.text == {"data":,"message":"登录已失效,请重新登录","retcode":-100}: print(f'当前登录已过期,请重新登陆!返回为:{wallet.text}') else: print(