You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
two exception raised when the connection to the mqtt broker is lost. main.py -> TypeError: on_disconnect() missing 1 required positional argument: 'rc'
and
client.py -> TypeError: mqtt_on_disconnect() missing 1 required positional argument: 'rc'
there are 4 arguments for 'on_disconnect(client, userdata, flags, rc)' and 'mqtt_on_disconnect(self, client, userdata, flags, rc)'
but according to the paho documentation there should only be 3 -> on_disconnect(client, userdata, rc)
The text was updated successfully, but these errors were encountered:
Hi,
two exception raised when the connection to the mqtt broker is lost.
main.py -> TypeError: on_disconnect() missing 1 required positional argument: 'rc'
and
client.py -> TypeError: mqtt_on_disconnect() missing 1 required positional argument: 'rc'
there are 4 arguments for 'on_disconnect(client, userdata, flags, rc)' and 'mqtt_on_disconnect(self, client, userdata, flags, rc)'
but according to the paho documentation there should only be 3 -> on_disconnect(client, userdata, rc)
The text was updated successfully, but these errors were encountered: