Remove qos argument
This commit is contained in:
@@ -53,7 +53,7 @@ class Commander:
|
||||
message_packed = umsgpack.packb(message)
|
||||
self._taking_votes = True
|
||||
# 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)
|
||||
self._taking_votes = False
|
||||
self.make_decision()
|
||||
|
||||
Reference in New Issue
Block a user