From 9514a517fde7b2bb69d306cb4b1f340d212e19ec Mon Sep 17 00:00:00 2001 From: Fabio Verboso Date: Tue, 27 Feb 2018 16:40:32 +0100 Subject: [PATCH] Fix wamp rpc registration Change-Id: I5b7650d06baa85f1f014b79b3dcc5448e11e35ae --- iotronic/wamp/agent.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/iotronic/wamp/agent.py b/iotronic/wamp/agent.py index bce6547..3e67077 100644 --- a/iotronic/wamp/agent.py +++ b/iotronic/wamp/agent.py @@ -151,11 +151,9 @@ class WampManager(object): u'stack4things.register') LOG.info("I have been set as registration agent") session.register(fun.connection, - AGENT_HOST + - + u'.stack4things.connection') + AGENT_HOST + u'.stack4things.connection') session.register(fun.echo, - AGENT_HOST + - + u'.stack4things.echo') + AGENT_HOST + u'.stack4things.echo') LOG.debug("procedure registered") except Exception as e: