Skip to content

Commit 3b09c28

Browse files
authored
Update AWS_IoT_Sub.py
1 parent a630ee2 commit 3b09c28

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Publisher and Subscriber/AWS_IoT_Sub.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,5 @@ def on_message(client, userdata, msg):
3737
keyPath = "Path_of_Private_Key"
3838

3939
mqttc.tls_set(caPath, certfile=certPath, keyfile=keyPath, cert_reqs=ssl.CERT_REQUIRED, tls_version=ssl.PROTOCOL_TLSv1_2, ciphers=None)
40-
4140
mqttc.connect(awshost, awsport, keepalive=60)
42-
4341
mqttc.loop_forever()

0 commit comments

Comments
 (0)