Merge pull request #4988 from kamontat/patch-2

fix wrong json key
This commit is contained in:
Matthias 2021-05-21 07:19:48 +02:00 committed by GitHub
commit e2edcb5457
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -396,7 +396,7 @@ def main(args):
sys.exit()
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')
username = config.get('api_server', {}).get('username')
password = config.get('api_server', {}).get('password')