只在最后一次重试时打印错误信息
This commit is contained in:
@@ -100,6 +100,7 @@ def login(url, username, password):
|
||||
pprint(ret)
|
||||
"""
|
||||
elif lgn["code"] != 1000:
|
||||
if attempts == 1:
|
||||
pprint(lgn)
|
||||
run_log = lgn["msg"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user