Commit 64f46692 authored by Rafal's avatar Rafal

repair

parent 544cb5cb
......@@ -17,7 +17,7 @@ class BaseAPI(object):
parameters['resource'] = self.resource
r = requests.get(self.site, auth=self.auth, params=parameters, verify=self.verifySSL)
if r.status_code == 200:
return r.json()
return r.text#json()
return False
def execute(self, method):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment