Small mqtt refactor

This commit is contained in:
zewelor
2018-04-02 21:06:00 +02:00
parent 06cfca60c1
commit 6f64df929a
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -98,4 +98,5 @@ class WorkersManager:
pip.main(['install', '-q', package])
def _on_command_wrapper(self, worker_obj, client, _, c):
_LOGGER.debug("on command wrapper for with %s: %s", c.topic, c.payload)
self._queue_command(self.Command(worker_obj.on_command, [c.topic, c.payload]))