summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2013-11-05 14:10:33 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2013-11-05 14:59:25 -0300
commit104c48b6eb3d6c2a092fae4d50ddd54d0130609b (patch)
tree5e2f74b2391019b9635e498b9bd45a82d176899b /src/leap/bitmask/gui
parent146e362ade6dddae44e27a0a090c8aae3debe3be (diff)
Move string encoding to srpregister.
Diffstat (limited to 'src/leap/bitmask/gui')
-rw-r--r--src/leap/bitmask/gui/wizard.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/leap/bitmask/gui/wizard.py b/src/leap/bitmask/gui/wizard.py
index 6ba65410..e9c1d86c 100644
--- a/src/leap/bitmask/gui/wizard.py
+++ b/src/leap/bitmask/gui/wizard.py
@@ -226,9 +226,7 @@ class Wizard(QtGui.QWizard):
self._registration_finished)
threads.deferToThread(
- partial(register.register_user,
- username.encode("utf8"),
- password.encode("utf8")))
+ partial(register.register_user, username, password))
self._username = username
self._password = password