diff --git a/api_client/python/timesketch_api_client/client.py b/api_client/python/timesketch_api_client/client.py index a17f87e566..028663b5d0 100644 --- a/api_client/python/timesketch_api_client/client.py +++ b/api_client/python/timesketch_api_client/client.py @@ -572,7 +572,7 @@ def explore(self, response = self.api.session.post(resource_url, json=form_data) if response.status_code != 200: raise ValueError( - 'Unable to query results, with error: [{0:d}] {1:s}'.format( + 'Unable to query results, with error: [{0:d}] {1!s}'.format( response.status_code, response.reason)) response_json = response.json()