1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-15 13:27:20 +08:00

Opt: Clear old reloader codes

This commit is contained in:
18870
2022-06-03 16:24:04 +08:00
parent 9c7f21b2ac
commit 349a51ec4f
4 changed files with 3 additions and 9 deletions

View File

@@ -274,7 +274,7 @@ class Updater(Config, GitManager, PipManager):
logger.info("All alas stopped, start updating")
if self.update():
if State.reload:
if State.researt_event is not None:
self.state = "reload"
with open("./config/reloadalas", mode="w") as f:
f.writelines(names)
@@ -316,7 +316,7 @@ class Updater(Config, GitManager, PipManager):
th._task.delay = get_next_time(self.schedule_time)
yield
continue
if not State.reload:
if State.researt_event is None:
yield
continue
if not self.run_update():