Remove previous method relating to subscription additions
This commit is contained in:
@@ -58,13 +58,6 @@ class Commander:
|
|||||||
self._taking_votes = False
|
self._taking_votes = False
|
||||||
self.make_decision()
|
self.make_decision()
|
||||||
|
|
||||||
# Shouldn't be needed anymore.
|
|
||||||
# def add_subscription(self, topic, callback=None, qos=0):
|
|
||||||
# self.client.subscribe(topic)
|
|
||||||
|
|
||||||
# if callback is not None:
|
|
||||||
# selfclient.message_callback_add(topic, callback)
|
|
||||||
|
|
||||||
def on_message(self, client, userdata, message):
|
def on_message(self, client, userdata, message):
|
||||||
messageDict = umsgpack.unpackb()
|
messageDict = umsgpack.unpackb()
|
||||||
if "type" in messageDict.keys:
|
if "type" in messageDict.keys:
|
||||||
|
|||||||
Reference in New Issue
Block a user