From 293e5cfd1df63b3019218a34a462c14cd2a893cd Mon Sep 17 00:00:00 2001 From: Michael Ziegler Date: Sat, 4 Jul 2009 11:44:58 +0200 Subject: [PATCH] I kinda miss DBus. Really. --- pyweb/mumble/MumbleCtlIce.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyweb/mumble/MumbleCtlIce.py b/pyweb/mumble/MumbleCtlIce.py index dfbe986..0b03254 100755 --- a/pyweb/mumble/MumbleCtlIce.py +++ b/pyweb/mumble/MumbleCtlIce.py @@ -298,9 +298,9 @@ class MumbleCtlIce_120(MumbleCtlIce_118): def setRegistration(self, srvid, mumbleid, name, email, password): user = self._getIceServerObject( srvid ).getRegistration( mumbleid ) - user['name'] = name - user['email'] = email - user['pw'] = password + user['name'] = name.encode( "UTF-8" ) + user['email'] = email.encode( "UTF-8" ) + user['pw'] = password.encode( "UTF-8" ) return self._getIceServerObject( srvid ).updateRegistration( mumbleid, user ) def getACL(self, srvid, identifier):