From 5e48dd50ac6bf855a536ab69aef1a983dd43fd8e Mon Sep 17 00:00:00 2001 From: a5225662 Date: Thu, 23 Mar 2023 00:36:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=8E=E7=A1=AEconfig.py=E4=B8=ADconfig.json?= =?UTF-8?q?=E7=9A=84=E6=9F=A5=E6=89=BE=E7=9B=AE=E5=BD=95=E4=B8=BA=E5=BD=93?= =?UTF-8?q?=E5=89=8D=E7=9B=AE=E5=BD=95=20#547?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.py b/config.py index 19b0f55..9cce2f0 100644 --- a/config.py +++ b/config.py @@ -9,7 +9,7 @@ config = {} def load_config(): global config - config_path = "config.json" + config_path = "./config.json" if not os.path.exists(config_path): raise Exception('配置文件不存在,请根据config-template.json模板创建config.json文件')