mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-06 03:46:10 +08:00
fix #66
This commit is contained in:
parent
2e27f4eddb
commit
cbdb73b2e3
@ -129,7 +129,7 @@ def register_router_fastapi(driver: Driver, socketio):
|
||||
|
||||
def init():
|
||||
driver = get_driver()
|
||||
if driver.type == "fastapi":
|
||||
if "fastapi" in driver.type:
|
||||
assert isinstance(driver, Driver)
|
||||
register_router_fastapi(driver, socket_app)
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user