Skip to content

Commit

Permalink
Fix issue eclipse#312
Browse files Browse the repository at this point in the history
  • Loading branch information
tgrusendorf committed Aug 17, 2023
1 parent 1461bc7 commit b3b5220
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/examples/example_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,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)
Expand Down

0 comments on commit b3b5220

Please sign in to comment.