截图未测试

This commit is contained in:
2026-06-05 10:17:36 +08:00
parent 10db652cbc
commit 3b2063c007
8 changed files with 55 additions and 48 deletions

View File

@@ -122,6 +122,12 @@ class LoginPage:
pass
accounts = apis.get_accounts_from_server("68ef0e02b0138d25e2ac9918")
# 检查accounts是否为None如果是则设为空列表
if accounts is None:
logging.warning("获取账户列表返回None设为空列表")
accounts = []
matches = [acc for acc in accounts if acc.get("username") == existing_username]
password = None
account_id = False