From 8b61202b82a09ec8994c38383d3a14fb378eaf55 Mon Sep 17 00:00:00 2001 From: Ivan Alejandro Date: Tue, 29 Oct 2013 14:56:03 -0300 Subject: 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] --- client/src/leap/soledad/client/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client') 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, -- cgit v1.2.3