mirror of
https://github.com/sui-feng-cb/AzurLaneAutoScript1.git
synced 2026-08-15 11:43:08 +08:00
Tmp: delay island tasks for EN and TW server
This commit is contained in:
@@ -302,6 +302,10 @@ class IslandProduction(IslandRecipe, IslandDock):
|
||||
break
|
||||
|
||||
def run(self):
|
||||
if self.config.SERVER in ['en', 'tw']:
|
||||
logger.info(f'IslandProduction is not available on {self.config.SERVER} server, delay until next server update')
|
||||
self.config.task_delay(server_update=True)
|
||||
return
|
||||
self.ensure_island_production_page()
|
||||
slot_finish_time = self.config.cross_get("IslandProduction.Storage.Storage.SlotFinishTime", default={})
|
||||
self.slot_finish_time = {int(k): datetime.fromisoformat(v) for k, v in slot_finish_time.items()}
|
||||
|
||||
Reference in New Issue
Block a user