mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Del: Revert auto refresh page when connection lost
This reverts commit 9c75d2388e.
This commit is contained in:
parent
c42691aeaa
commit
f64de3794d
2
gui.py
2
gui.py
@ -912,8 +912,6 @@ if __name__ == "__main__":
|
||||
lang.reload()
|
||||
|
||||
def index():
|
||||
# Auto refresh page when connection lost
|
||||
run_js('WebIO._state.CurrentSession.on_session_close(()=>{setTimeout(()=>location.reload(), 5000)})')
|
||||
if args.key != '' and not login(args.key):
|
||||
logger.warning(f"{info.user_ip} login failed.")
|
||||
time.sleep(1.5)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user