From f8ce2fb468f4162254204c76d6dddd70cc897f14 Mon Sep 17 00:00:00 2001 From: LIghtJUNction Date: Fri, 26 Jun 2026 10:53:04 +0800 Subject: [PATCH] fix: correct dashboard run return annotation --- astrbot/dashboard/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astrbot/dashboard/server.py b/astrbot/dashboard/server.py index 5f3f49e10..70b9caeba 100644 --- a/astrbot/dashboard/server.py +++ b/astrbot/dashboard/server.py @@ -543,7 +543,7 @@ class AstrBotDashboard: return True, resolved_ssl_config - async def run(self) -> None | None: + async def run(self) -> None: if self._webui_fallback: logger.warning( "前端未内置或未初始化, 回退到仅启动后端. 请访问在线面板: dash.astrbot.men",