fixup! use deprecation marker for legacy db

fix test
This commit is contained in:
felinae98
2022-10-10 22:53:29 +08:00
parent b34f93b313
commit dbda95c0c9
+1 -1
View File
@@ -60,7 +60,7 @@ async def use_legacy_config(app: App):
import aiofiles
from nonebot_bison.config.config_legacy import config, get_config_path
async with aiofiles.open(get_config_path(), "w") as f:
async with aiofiles.open(get_config_path()[0], "w") as f:
await f.write("{}")
config._do_init()