1
0
forked from bot/app

fix: 修复了plugins.json报错的问题

This commit is contained in:
远野千束 2024-03-21 02:04:51 +08:00
parent 3657e6b93b
commit 49bf677da5

View File

@ -115,7 +115,7 @@ async def npm_update() -> bool:
async with aiofiles.open("data/liteyuki/plugins.json", "wb") as f:
data = await resp.read()
await f.write(data)
nonebot.logger.info()
return True
return False