🐛 fix error arg

This commit is contained in:
yanyongyu 2020-11-22 02:17:13 +08:00
parent 68ed443fa3
commit 389211f740

View File

@ -4,7 +4,7 @@
@Author : yanyongyu @Author : yanyongyu
@Date : 2020-11-22 00:56:31 @Date : 2020-11-22 00:56:31
@LastEditors : yanyongyu @LastEditors : yanyongyu
@LastEditTime : 2020-11-22 01:03:05 @LastEditTime : 2020-11-22 02:16:42
@Description : None @Description : None
@GitHub : https://github.com/yanyongyu @GitHub : https://github.com/yanyongyu
""" """
@ -16,7 +16,7 @@ from nonebot.drivers.fastapi import Driver
from fastapi.staticfiles import StaticFiles from fastapi.staticfiles import StaticFiles
def register_route(driver: Driver, socketio): def register_route(driver: Driver):
app = driver.server_app app = driver.server_app
static_path = str((Path(__file__).parent / ".." / "dist").resolve()) static_path = str((Path(__file__).parent / ".." / "dist").resolve())