bug fixed

This commit is contained in:
Pesy Wu 2023-03-06 13:02:13 +08:00 committed by GitHub
parent 2b07a34528
commit 86330680dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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":,"message":"登录已失效,请重新登录","retcode":-100}:
if wallet.text == {"data": None,"message":"登录已失效,请重新登录","retcode":-100}:
print(f'当前登录已过期,请重新登陆!返回为:{wallet.text}')
else:
print(