Skip to content

Commit 5e48dd5

Browse files
committed
明确config.py中config.json的查找目录为当前目录 #547
1 parent 2d3ffa1 commit 5e48dd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
def load_config():
1111
global config
12-
config_path = "config.json"
12+
config_path = "./config.json"
1313
if not os.path.exists(config_path):
1414
raise Exception('配置文件不存在,请根据config-template.json模板创建config.json文件')
1515

0 commit comments

Comments
 (0)