From 2fb90a306404ffa2d0271939df01540624136241 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 25 Nov 2021 10:32:11 +0800 Subject: [PATCH] bugfix --- appPublic/zmq_topic.py | 1 - 1 file changed, 1 deletion(-) diff --git a/appPublic/zmq_topic.py b/appPublic/zmq_topic.py index b663290..4b2955e 100644 --- a/appPublic/zmq_topic.py +++ b/appPublic/zmq_topic.py @@ -90,7 +90,6 @@ class TopicSubscriber: self.callback = callback self.topic = topic - self._topic = self.topic.encode('utf-8') self.context = Context.instance() self.url = "tcp://{}:{}".format(address, port) self.sub = self.context.socket(zmq.SUB)