Open jose1711 opened 2 years ago
In https://github.com/tve/mqboard/blob/master/mqtt_async/README.md:
def callback(topic, msg, retained, qos): print(topic, msg, retained, qos) .. config.subs_cb = callback
while in mqtt_async.py there is:
mqtt_async.py
cb = self._subs_cb(topic, msg, bool(retained), qos, dup)
This results in incorrect number of arguments being called:
function takes 4 positional arguments but 5 were given: exception in handler
This can be easily fixed (in README.md):
README.md
def callback(topic, msg, retained, qos, dup): print(topic, msg, retained, qos, dup)
In https://github.com/tve/mqboard/blob/master/mqtt_async/README.md:
while in
mqtt_async.py
there is:This results in incorrect number of arguments being called:
This can be easily fixed (in
README.md
):