forked from bot/app
fix: 修复了plugins.json
报错的问题
This commit is contained in:
parent
3657e6b93b
commit
49bf677da5
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user