Remove qos argument

This commit is contained in:
DSTO\pivatom
2019-01-14 09:03:32 +10:30
parent 8db3f279fe
commit 4f4f4d531c

View File

@@ -53,7 +53,7 @@ class Commander:
message_packed = umsgpack.packb(message) message_packed = umsgpack.packb(message)
self._taking_votes = True self._taking_votes = True
# Publish a message that votes are needed. # Publish a message that votes are needed.
self.client.publish("swarm1/voters", message_packed, qos) self.client.publish("swarm1/voters", message_packed)
time.sleep(self.timeout) time.sleep(self.timeout)
self._taking_votes = False self._taking_votes = False
self.make_decision() self.make_decision()