Don't return tuple value on error

This commit is contained in:
Joshua Boniface 2020-02-19 15:47:08 -05:00
parent 39ce704969
commit 1b8b32b07c
1 changed files with 1 additions and 1 deletions

View File

@ -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']: