Browse Source

remove testing stuff and implement getUptime for 1.2.3

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

6
pyweb/mumble/MumbleCtlIce.py

@ -663,7 +663,7 @@ class MumbleCtlIce_122(MumbleCtlIce_120):
@protectDjangoErrPage @protectDjangoErrPage
def getUptime(self, srvid): def getUptime(self, srvid):
return None #self._getIceServerObject(srvid).getUptime()
return self._getIceServerObject(srvid).getUptime()
class MumbleCtlIce_123(MumbleCtlIce_120): class MumbleCtlIce_123(MumbleCtlIce_120):
@ -690,4 +690,8 @@ class MumbleCtlIce_123(MumbleCtlIce_120):
buf.seek(0) buf.seek(0)
self._getIceServerObject(srvid).setTexture(mumbleid, buf.read()) self._getIceServerObject(srvid).setTexture(mumbleid, buf.read())
@protectDjangoErrPage
def getUptime(self, srvid):
return self._getIceServerObject(srvid).getUptime()
Loading…
Cancel
Save