|
@@ -9,7 +9,7 @@ config = {}
|
|
|
|
|
|
|
|
def load_config():
|
|
def load_config():
|
|
|
global config
|
|
global config
|
|
|
- config_path = "config.json"
|
|
|
|
|
|
|
+ config_path = "./config.json"
|
|
|
if not os.path.exists(config_path):
|
|
if not os.path.exists(config_path):
|
|
|
raise Exception('配置文件不存在,请根据config-template.json模板创建config.json文件')
|
|
raise Exception('配置文件不存在,请根据config-template.json模板创建config.json文件')
|
|
|
|
|
|