mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-11-25 00:25:04 +08:00
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:
|
async with aiofiles.open("data/liteyuki/plugins.json", "wb") as f:
|
||||||
data = await resp.read()
|
data = await resp.read()
|
||||||
await f.write(data)
|
await f.write(data)
|
||||||
nonebot.logger.info()
|
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user