From 8db3f279fece1551442202b5c028539638013131 Mon Sep 17 00:00:00 2001 From: "DSTO\\pivatom" Date: Mon, 14 Jan 2019 09:03:04 +1030 Subject: [PATCH] Remove previous method relating to subscription additions --- DecisionSystem/CentralisedDecision/commander.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/DecisionSystem/CentralisedDecision/commander.py b/DecisionSystem/CentralisedDecision/commander.py index 8d8f1d4..2582273 100644 --- a/DecisionSystem/CentralisedDecision/commander.py +++ b/DecisionSystem/CentralisedDecision/commander.py @@ -58,13 +58,6 @@ class Commander: self._taking_votes = False 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): messageDict = umsgpack.unpackb() if "type" in messageDict.keys: