From 52fbd9225d4979e82a1a6127bdfa29f708d0fc2f Mon Sep 17 00:00:00 2001 From: DLmaster361 Date: Mon, 25 Aug 2025 15:27:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=9D=E5=A7=8B=E5=8C=96=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E6=96=87=E4=BB=B6=E5=A4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/core/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/core/config.py b/app/core/config.py index e2c3918..40b0cb0 100644 --- a/app/core/config.py +++ b/app/core/config.py @@ -656,10 +656,10 @@ class AppConfig(GlobalConfig): self.log_path = Path.cwd() / "debug/app.log" self.database_path = Path.cwd() / "data/data.db" self.config_path = Path.cwd() / "config" - self.key_path = Path.cwd() / "data/key" self.history_path = Path.cwd() / "history" # 检查目录 self.log_path.parent.mkdir(parents=True, exist_ok=True) + self.database_path.parent.mkdir(parents=True, exist_ok=True) self.config_path.mkdir(parents=True, exist_ok=True) self.history_path.mkdir(parents=True, exist_ok=True)