fix wrong json key

This commit is contained in:
Kamontat Chantrachirathumrong 2021-05-21 11:18:16 +07:00 committed by GitHub
parent ba106e6c4a
commit 0045d3a726
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -396,7 +396,7 @@ def main(args):
sys.exit() sys.exit()
config = load_config(args['config']) config = load_config(args['config'])
url = config.get('api_server', {}).get('server_url', '127.0.0.1') url = config.get('api_server', {}).get('listen_ip_address', '127.0.0.1')
port = config.get('api_server', {}).get('listen_port', '8080') port = config.get('api_server', {}).get('listen_port', '8080')
username = config.get('api_server', {}).get('username') username = config.get('api_server', {}).get('username')
password = config.get('api_server', {}).get('password') password = config.get('api_server', {}).get('password')