🐛 修复一些类型错误

This commit is contained in:
Azide
2023-09-12 15:50:07 +08:00
committed by felinae98
parent ffa180e8a6
commit 77e9fc3b50
3 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ def init_fastapi():
app.mount("/bison", nonebot_app, "nonebot-bison")
driver = get_driver()
register_router_fastapi(driver, socket_app)
register_router_fastapi(driver, socket_app) # type: ignore
host = str(driver.config.host)
port = driver.config.port
if host in ["0.0.0.0", "127.0.0.1"]: