1
0
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:
18870
2022-01-12 22:27:56 +08:00
parent bff8296af5
commit c8a95970d5
13 changed files with 171 additions and 58 deletions

View File

@@ -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: