summaryrefslogtreecommitdiff
path: root/client/src
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2013-11-21 09:49:05 -0200
committerdrebs <drebs@leap.se>2013-11-21 09:49:05 -0200
commit75bc8c2220aa636a2c63fa0d151f271c22920040 (patch)
treeeab5a3cdcc92c4c7732ac28404fcdb2199e51522 /client/src
parentc17fe773748e6d07941016f608c6e7cfea0b043c (diff)
Add unicode conversion to put_doc. Closes #4095.
Diffstat (limited to 'client/src')
-rw-r--r--client/src/leap/soledad/client/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/leap/soledad/client/__init__.py b/client/src/leap/soledad/client/__init__.py
index d50dde42..08cae892 100644
--- a/client/src/leap/soledad/client/__init__.py
+++ b/client/src/leap/soledad/client/__init__.py
@@ -753,6 +753,7 @@ class Soledad(object):
:return: the new revision identifier for the document
:rtype: str
"""
+ doc.content = self._convert_to_unicode(doc.content)
return self._db.put_doc(doc)
def delete_doc(self, doc):