We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06d680e commit ed5a186Copy full SHA for ed5a186
samples/pubsub.py
@@ -65,7 +65,7 @@ def on_connection_success(connection, callback_data):
65
66
# Callback when a connection attempt fails
67
def on_connection_failure(connection, callback_data):
68
- assert isinstance(callback_data, mqtt.OnConnectionFailuredata)
+ assert isinstance(callback_data, mqtt.OnConnectionFailureData)
69
print("Connection failed with error code: {}".format(callback_data.error))
70
71
# Callback when a connection has been disconnected or shutdown successfully
0 commit comments