Skip to content

Commit a660aa2

Browse files
authored
Merge pull request #549 from a5225662/master
明确config.py中config.json的查找目录为当前目录 #547
2 parents 2d3ffa1 + 5e48dd5 commit a660aa2

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)