We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da1cea7 commit d671bccCopy full SHA for d671bcc
module/island/season_task.py
@@ -1,3 +1,5 @@
1
+from yaml import safe_dump
2
+
3
import module.config.server as server
4
from module.base.button import ButtonGrid
5
from module.base.decorator import cached_property, del_cached_property, Config
@@ -184,5 +186,6 @@ def run(self):
184
186
self.ui_ensure(page_island_season)
185
187
self.island_season_bottom_navbar_ensure(left=3)
188
result = self.scan_all()
- self.config.cross_set(keys="IslandInfo.IslandSeasonTask", value=result)
- return result
189
+ value = safe_dump(result)
190
+ self.config.cross_set(keys="IslandInfo.IslandSeasonTask.TaskDict", value=value)
191
+ self.config.task_delay(server_update=True)
0 commit comments