From 490eb68afc141c78f5228d8f391b1e6dc22b400c Mon Sep 17 00:00:00 2001 From: tgrusendorf <73901582+tgrusendorf@users.noreply.github.com> Date: Wed, 16 Aug 2023 18:28:00 -0600 Subject: [PATCH] Fix issue #312 --- python/examples/example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/examples/example.py b/python/examples/example.py index 107e5acc..7062393a 100755 --- a/python/examples/example.py +++ b/python/examples/example.py @@ -243,7 +243,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)