diff options
-rw-r--r-- | testapi/testapi-client/testapiclient/http_client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testapi/testapi-client/testapiclient/http_client.py b/testapi/testapi-client/testapiclient/http_client.py index 59b4f8e..aa6ef11 100644 --- a/testapi/testapi-client/testapiclient/http_client.py +++ b/testapi/testapi-client/testapiclient/http_client.py @@ -44,7 +44,7 @@ class HTTPClient(object): headers=HTTPClient.headers).text def delete(self, url, *args): - if(args.__len__ > 0): + if(args.__len__() > 0): r = self._session_request('delete', url, data=json.dumps(args[0]), headers=HTTPClient.headers) |