From 1b8b32b07cafd802b36fbcf1303104107e571cb0 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Wed, 19 Feb 2020 15:47:08 -0500 Subject: [PATCH] Don't return tuple value on error --- client-cli/cli_lib/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client-cli/cli_lib/common.py b/client-cli/cli_lib/common.py index 5bf019ff..0116e7d2 100644 --- a/client-cli/cli_lib/common.py +++ b/client-cli/cli_lib/common.py @@ -78,7 +78,7 @@ def call_api(config, operation, request_uri, params=None, data=None, files=None) data=data ) except Exception as e: - return False, 'Failed to connect to the API: {}'.format(e) + return 'Failed to connect to the API: {}'.format(e) # Display debug output if config['debug']: