Browse Source

fix local variable 'ice' referenced before assignment

Natenom/support-murmur-13-1446181288462
Michael Ziegler 15 years ago
parent
commit
d985b70333
  1. 2
      pyweb/mumble/MumbleCtlIce.py

2
pyweb/mumble/MumbleCtlIce.py

@ -72,10 +72,10 @@ def MumbleCtlIce( connstring ):
raise EnvironmentError( "The slice file name MUST end with '.ice'." ) raise EnvironmentError( "The slice file name MUST end with '.ice'." )
Ice.loadSlice( settings.SLICE ) Ice.loadSlice( settings.SLICE )
ice = Ice.initialize()
import Murmur import Murmur
ice = Ice.initialize()
prx = ice.stringToProxy( connstring.encode("utf-8") ) prx = ice.stringToProxy( connstring.encode("utf-8") )
meta = Murmur.MetaPrx.checkedCast(prx) meta = Murmur.MetaPrx.checkedCast(prx)

Loading…
Cancel
Save