Skip to content

Commit 3797f41

Browse files
committed
fix paho-mqtt usage in python mqtt quickstart
1 parent f08953c commit 3797f41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deployed-devices/quickstarts/paho-python/subscribe-and-print.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
key_location = '/…/CY499a5cbd774f4970a9ab51e2e8c4fb57.key.decrypted'
88

99
client = mqtt.Client(client_id="bob", clean_session=False)
10-
client.set_tls(None, pem_location, key_location)
10+
client.tls_set(None, pem_location, key_location)
1111

1212

1313
#

0 commit comments

Comments
 (0)