Actualiser mqtt-python.py

This commit is contained in:
nicolas.schmauch 2024-06-12 10:19:21 +02:00
parent 8c9f015b08
commit 3215912edd

View file

@ -94,14 +94,6 @@ try:
while True: while True:
time.sleep(0.1) time.sleep(0.1)
except KeyboardInterrupt:
print ("exiting")
client.disconnect()
client.loop_stop()
try:
while True:
time.sleep(0.1)
except KeyboardInterrupt: except KeyboardInterrupt:
print ("exiting") print ("exiting")
client.disconnect() client.disconnect()