mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 00:28:20 +08:00
Opt: Show commit info in updater
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from module.webui.utils import Icon, TaskHandler, set_localstorage
|
||||
from module.webui.utils import Icon, WebIOTaskHandler, set_localstorage
|
||||
from pywebio.output import clear, put_html, put_scope, put_text, use_scope
|
||||
from pywebio.session import defer_call, info, run_js
|
||||
|
||||
@@ -11,7 +11,7 @@ class Base:
|
||||
# Device type
|
||||
self.is_mobile = info.user_agent.is_mobile
|
||||
# Task handler
|
||||
self.task_handler = TaskHandler(use_pywebio=True)
|
||||
self.task_handler = WebIOTaskHandler()
|
||||
defer_call(self.stop)
|
||||
|
||||
def stop(self) -> None:
|
||||
|
||||
Reference in New Issue
Block a user