Browse Source

I *HATE* Ice. Each sting has to be encoded in UTF8. MANUALLY. GAAH. fixes #8 once again.

Natenom/support-murmur-13-1446181288462
Michael Ziegler 16 years ago
parent
commit
73b3128117
  1. 4
      pyweb/mumble/MumbleCtlIce.py

4
pyweb/mumble/MumbleCtlIce.py

@ -164,7 +164,7 @@ class MumbleCtlIce_118(MumbleCtlBase):
self._getIceServerObject(srvid).setConf(key, value)
def registerPlayer(self, srvid, name):
return self._getIceServerObject(srvid).registerPlayer(name)
return self._getIceServerObject(srvid).registerPlayer( name.encode( "UTF-8" ) )
def unregisterPlayer(self, srvid, mumbleid):
self._getIceServerObject(srvid).unregisterPlayer(mumbleid)
@ -291,7 +291,7 @@ class MumbleCtlIce_120(MumbleCtlIce_118):
return ret
def registerPlayer(self, srvid, name):
return self._getIceServerObject(srvid).registerUser(name)
return self._getIceServerObject(srvid).registerUser( name.encode( "UTF-8" ) )
def unregisterPlayer(self, srvid, mumbleid):
self._getIceServerObject(srvid).unregisterUser(mumbleid)

Loading…
Cancel
Save