We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a4c75a commit 89cf94fCopy full SHA for 89cf94f
1 file changed
ox3apiclient.py
@@ -168,15 +168,15 @@ def validate_session(self):
168
169
self._cookie_jar.set_cookie(cookie)
170
171
- url = 'http://'+self.domain+API_PATH+'/a/session/validate'
+ url = 'http://'+self.domain+self.api_path+'/a/session/validate'
172
res = self.request(url=url, method='PUT')
173
return res.read()
174
175
def _resolve_url(self, url):
176
""""""
177
parse_res = urlparse.urlparse(url)
178
if not parse_res.scheme:
179
- url ='http://%s%s%s' % (self.domain, API_PATH, parse_res.path)
+ url ='http://%s%s%s' % (self.domain, self.api_path, parse_res.path)
180
181
return url
182
0 commit comments