Skip to content

Commit

Permalink
labels url is stored in node_labels settings key
Browse files Browse the repository at this point in the history
  • Loading branch information
smarzola committed Jul 8, 2014
1 parent b010d59 commit 0269e85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neo4jrestclient/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def __init__(self, url, username=None, password=None, cert_file=None,
if response_json:
self._relationship_index = response_json['relationship_index']
self._node = response_json['node']
self._labels = response_json.get('labels',
self._labels = response_json.get('node_labels',
"{}labels".format(self.url))
self._labels_list = None
self._node_index = response_json['node_index']
Expand Down

0 comments on commit 0269e85

Please sign in to comment.