mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-30 04:24:44 +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