summaryrefslogtreecommitdiff
path: root/py/demo/Ice/throughput/Server.py
diff options
context:
space:
mode:
Diffstat (limited to 'py/demo/Ice/throughput/Server.py')
-rw-r--r--py/demo/Ice/throughput/Server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/demo/Ice/throughput/Server.py b/py/demo/Ice/throughput/Server.py
index 97f76c7e594..a5f891052a5 100644
--- a/py/demo/Ice/throughput/Server.py
+++ b/py/demo/Ice/throughput/Server.py
@@ -80,7 +80,7 @@ class ThroughputI(Demo.Throughput):
class Server(Ice.Application):
def run(self, args):
adapter = self.communicator().createObjectAdapter("Throughput")
- adapter.add(ThroughputI(), Ice.stringToIdentity("throughput"))
+ adapter.add(ThroughputI(), self.communicator().stringToIdentity("throughput"))
adapter.activate()
self.communicator().waitForShutdown()
return True