summaryrefslogtreecommitdiff
path: root/ATRI/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'ATRI/plugins')
-rw-r--r--ATRI/plugins/console/data_source.py2
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())