bugfix
This commit is contained in:
parent
6d1db413a7
commit
2fb90a3064
@ -90,7 +90,6 @@ class TopicSubscriber:
|
|||||||
|
|
||||||
self.callback = callback
|
self.callback = callback
|
||||||
self.topic = topic
|
self.topic = topic
|
||||||
self._topic = self.topic.encode('utf-8')
|
|
||||||
self.context = Context.instance()
|
self.context = Context.instance()
|
||||||
self.url = "tcp://{}:{}".format(address, port)
|
self.url = "tcp://{}:{}".format(address, port)
|
||||||
self.sub = self.context.socket(zmq.SUB)
|
self.sub = self.context.socket(zmq.SUB)
|
||||||
|
Loading…
Reference in New Issue
Block a user