Browse Source

removed unneccessary conversions. fixes #8

Natenom/support-murmur-13-1446181288462
svedrin 16 years ago
parent
commit
b05c39175a
  1. 3
      pyweb/mumble/MumbleCtlDbus.py

3
pyweb/mumble/MumbleCtlDbus.py

@ -103,7 +103,8 @@ class MumbleCtlDbus(MumbleCtlBase):
self.meta.setSuperUserPassword(dbus.Int32(srvid), value) self.meta.setSuperUserPassword(dbus.Int32(srvid), value)
def setRegistration(self, srvid, mumbleid, name, email, password): def setRegistration(self, srvid, mumbleid, name, email, password):
return MumbleCtlDbus.converDbusTypeToNative(self._getDbusServerObject(srvid).setRegistration(dbus.Int32(mumbleid), dbus.String(name), dbus.String(email), dbus.String(password)))
return MumbleCtlDbus.converDbusTypeToNative(self._getDbusServerObject(srvid).setRegistration(dbus.Int32(mumbleid), name, email, password))
#return MumbleCtlDbus.converDbusTypeToNative(self._getDbusServerObject(srvid).setRegistration(dbus.Int32(mumbleid), dbus.String(name), dbus.String(email), dbus.String(password)))
def getTexture(self, srvid, mumbleid): def getTexture(self, srvid, mumbleid):
texture = self._getDbusServerObject(srvid).getTexture(dbus.Int32(mumbleid)); texture = self._getDbusServerObject(srvid).getTexture(dbus.Int32(mumbleid));

Loading…
Cancel
Save