1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 07:28:21 +08:00

Fix: Convert null to empty string

DeployConfig.to_bool() can't convert None

dbc44aa296
This commit is contained in:
18870
2021-12-17 21:22:58 +08:00
parent dbc44aa296
commit 8ab9b14b17
2 changed files with 3 additions and 3 deletions

2
gui.py
View File

@@ -975,7 +975,7 @@ if __name__ == "__main__":
def index():
if key is not None and not login(key):
if key != '' and not login(key):
logger.warning(f"{info.user_ip} login failed.")
time.sleep(1.5)
run_js('location.reload();')