优化帐号验证

This commit is contained in:
Cp0204 2024-07-28 03:13:05 +08:00
parent 7376565c31
commit 6fef536d6e

View File

@ -761,8 +761,12 @@ class Emby:
def verify_account(account):
# 验证账号
account_info = account.init()
print(f"▶️ 验证第{account.index}个账号")
if "__uid" not in account.cookie:
print(f"💡 不存在cookie必要参数判断为仅签到")
return False
else:
account_info = account.init()
if not account_info:
add_notify(f"👤 第{account.index}个账号登录失败cookie无效❌")
return False