summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2013-10-29 14:56:03 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2013-10-29 14:56:03 -0300
commit8b61202b82a09ec8994c38383d3a14fb378eaf55 (patch)
tree445ec04d37c7d17b8e1acb782998da407cb9e20f
parent7f8ef3746bc4031c5d277420b64e954796331182 (diff)
Passphrase is already an unicode object.
As we enforce to have the passphrase as an unicode object, we no longer need this conversion. [Related to bug #4330]
-rw-r--r--client/src/leap/soledad/client/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/leap/soledad/client/__init__.py b/client/src/leap/soledad/client/__init__.py
index e946b71b..f3820a51 100644
--- a/client/src/leap/soledad/client/__init__.py
+++ b/client/src/leap/soledad/client/__init__.py
@@ -1190,7 +1190,7 @@ class Soledad(object):
doc='The secret used for symmetric encryption.')
def _get_passphrase(self):
- return self._passphrase.decode("UTF-8")
+ return self._passphrase
passphrase = property(
_get_passphrase,