Browse Source

added encoding stuff (I'm spoiled by DBus, that's why I keep forgetting). hopefully fixes #8.

Natenom/support-murmur-13-1446181288462
Michael Ziegler 16 years ago
parent
commit
7f7e7c27c9
  1. 6
      pyweb/mumble/MumbleCtlIce.py

6
pyweb/mumble/MumbleCtlIce.py

@ -171,9 +171,9 @@ class MumbleCtlIce_118(MumbleCtlBase):
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" )
#print user
# update*r*egistration r is lowercase...
return self._getIceServerObject(srvid).updateregistration(user)

Loading…
Cancel
Save