diff --git a/python/examples/example_datatype.py b/python/examples/example_datatype.py index 187d8b19..7347c1e5 100755 --- a/python/examples/example_datatype.py +++ b/python/examples/example_datatype.py @@ -192,7 +192,7 @@ def publishDeviceBirth(): deathPayload = sparkplug.getNodeDeathPayload() # Start of main program - Set up the MQTT client connection -client = mqtt.Client(serverUrl, 1883, 60) +client = mqtt.Client() client.on_connect = on_connect client.on_message = on_message client.username_pw_set(myUsername, myPassword)