From 1461bc79a53e754b7336a855ba266407720a26bc Mon Sep 17 00:00:00 2001 From: tgrusendorf <73901582+tgrusendorf@users.noreply.github.com> Date: Wed, 16 Aug 2023 18:29:45 -0600 Subject: [PATCH] Fix issue #312 --- python/examples/example_raspberry_pi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/examples/example_raspberry_pi.py b/python/examples/example_raspberry_pi.py index afd4a9f3..f4703d8b 100755 --- a/python/examples/example_raspberry_pi.py +++ b/python/examples/example_raspberry_pi.py @@ -219,7 +219,7 @@ def publishBirths(): 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)