Skip to content

Commit

Permalink
Pass correct url to get
Browse files Browse the repository at this point in the history
- Get with missing '/' was causing an additional 302
  • Loading branch information
robinedwards committed Jul 24, 2012
1 parent 0cab683 commit f23ba3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neo4jrestclient/client.py
Expand Up @@ -76,7 +76,7 @@ def __init__(self, url, username=None, password=None, cert_file=None,
self.url = url
else:
self.url = "%s/" % url
response, content = Request(**self._auth).get(url)
response, content = Request(**self._auth).get(self.url)
if response.status == 200:
response_json = json.loads(content)
self._relationship_index = response_json['relationship_index']
Expand Down

0 comments on commit f23ba3e

Please sign in to comment.