let the server.py using the custom config_pathc
This commit is contained in:
parent
204d4e0424
commit
a54146364c
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ def main():
|
||||||
config_path = value
|
config_path = value
|
||||||
|
|
||||||
if config_path:
|
if config_path:
|
||||||
with open('config.json', 'rb') as f:
|
with open(config_path, 'rb') as f:
|
||||||
config = json.load(f)
|
config = json.load(f)
|
||||||
logging.info('loading config from %s' % config_path)
|
logging.info('loading config from %s' % config_path)
|
||||||
SERVER = config['server']
|
SERVER = config['server']
|
||||||
|
|
Loading…
Reference in a new issue