From 9877bcb8d04aeb4a56ab9e322ee47db26e0ba165 Mon Sep 17 00:00:00 2001 From: tgrusendorf <73901582+tgrusendorf@users.noreply.github.com> Date: Wed, 16 Aug 2023 18:28:47 -0600 Subject: [PATCH] Fix issue #312 --- python/examples/example_datatype.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)