截图未测试
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user