From 26afa28fec66e047312ad1a0db9269c0f17aa2d1 Mon Sep 17 00:00:00 2001 From: Kyomotoi <0w0@imki.moe> Date: Thu, 22 Sep 2022 22:31:45 +0800 Subject: =?UTF-8?q?=F0=9F=94=A5=20=E5=88=A0=E9=99=A4=20debug=20=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ATRI/plugins/console/data_source.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ATRI/plugins') 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()) -- cgit v1.2.3