From 0045d3a726f266f720f6229c1ae5d1c073ab99b2 Mon Sep 17 00:00:00 2001 From: Kamontat Chantrachirathumrong Date: Fri, 21 May 2021 11:18:16 +0700 Subject: [PATCH] fix wrong json key --- scripts/rest_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/rest_client.py b/scripts/rest_client.py index 900b784f2..ece0a253e 100755 --- a/scripts/rest_client.py +++ b/scripts/rest_client.py @@ -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')