Skip to content
Browse files

Fixes #64, added a small unicode check

  • Loading branch information...
1 parent 864a2d4 commit 7088386cfdfc9f836e738f161ac1c9a8242601eb @versae committed Sep 10, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 neo4jrestclient/client.py
View
2 neo4jrestclient/client.py
@@ -679,6 +679,8 @@ def _update_dict_data(self):
for k, v in self._dic["data"].items())
def _safe_string(self, s):
+ if isinstance(s, unicode):
+ return s
if isinstance(s, basestring):
return unicode(s.decode("utf-8"))
else:

0 comments on commit 7088386

Please sign in to comment.
Something went wrong with that request. Please try again.