Commit 4e55d246 authored by Rafal's avatar Rafal

repair

parent c1b12647
......@@ -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:
data = r.data.encode('utf-8')
data = r.text.encode('utf-8')
return data
return False
......
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