summaryrefslogtreecommitdiff
path: root/py/demo/IceGrid/simple/Server.py
diff options
context:
space:
mode:
Diffstat (limited to 'py/demo/IceGrid/simple/Server.py')
-rw-r--r--py/demo/IceGrid/simple/Server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/demo/IceGrid/simple/Server.py b/py/demo/IceGrid/simple/Server.py
index ebd6b7c069a..750d5e30800 100644
--- a/py/demo/IceGrid/simple/Server.py
+++ b/py/demo/IceGrid/simple/Server.py
@@ -28,7 +28,7 @@ class Server(Ice.Application):
def run(self, args):
properties = self.communicator().getProperties()
adapter = self.communicator().createObjectAdapter("Hello")
- id = Ice.stringToIdentity(properties.getProperty("Identity"))
+ id = self.communicator().stringToIdentity(properties.getProperty("Identity"))
adapter.add(HelloI(properties.getProperty("Ice.ServerId")), id)
adapter.activate()
self.communicator().waitForShutdown()