diff --git a/lib/interface.py b/lib/interface.py index 4c792b5c4..354db2f9e 100644 --- a/lib/interface.py +++ b/lib/interface.py @@ -422,7 +422,9 @@ class Interface(threading.Thread): with self.lock: if self.subscriptions.get(channel) is None: self.subscriptions[channel] = [] - self.subscriptions[channel] += sub + for message in sub: + if message not in self.subscriptions[channel]: + self.subscriptions[channel].append(message) if self.protocol in 'st': with self.lock: