From 6d1db413a7d5d939a45119eb49298c1ec2cb6dc6 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 25 Nov 2021 10:15:43 +0800 Subject: [PATCH] bugfix --- appPublic/zmq_topic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appPublic/zmq_topic.py b/appPublic/zmq_topic.py index 2e22f45..b663290 100644 --- a/appPublic/zmq_topic.py +++ b/appPublic/zmq_topic.py @@ -100,7 +100,7 @@ class TopicSubscriber: for t in self.topic: self.sub.setsockopt(zmq.SUBSCRIBE, t.encode('utf-8')) else: - self.sub.setsockopt(zmq.SUBSCRIBE, self.topic.encode('utf-8') + self.sub.setsockopt(zmq.SUBSCRIBE, self.topic.encode('utf-8')) def run(self):