diff options
author | Kyomotoi <[email protected]> | 2022-09-22 22:31:45 +0800 |
---|---|---|
committer | Kyomotoi <[email protected]> | 2022-09-22 22:31:45 +0800 |
commit | 26afa28fec66e047312ad1a0db9269c0f17aa2d1 (patch) | |
tree | 87bd4c30969b8f6fcd6f5e9e99a3cf568737a4bf | |
parent | cc70c8d885edf0a88d1477d607e76bc3dbb91df9 (diff) | |
download | ATRI-26afa28fec66e047312ad1a0db9269c0f17aa2d1.tar.gz ATRI-26afa28fec66e047312ad1a0db9269c0f17aa2d1.tar.bz2 ATRI-26afa28fec66e047312ad1a0db9269c0f17aa2d1.zip |
🔥 删除 debug 代码
-rw-r--r-- | ATRI/plugins/console/data_source.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ATRI/plugins/console/data_source.py b/ATRI/plugins/console/data_source.py index db0b6b1..2b0090b 100644 --- a/ATRI/plugins/console/data_source.py +++ b/ATRI/plugins/console/data_source.py @@ -82,7 +82,7 @@ async def init_resource(): except Exception: log.error("控制台资源装载失败, 将无法访问管理界面") return - print(len(resp.read())) + file_path = CONSOLE_DIR / "dist.zip" with open(file_path, "wb") as w: w.write(resp.read()) |