From 3215912eddbc5cfe26c73f0627bb81ce9552a85b Mon Sep 17 00:00:00 2001 From: "nicolas.schmauch" Date: Wed, 12 Jun 2024 10:19:21 +0200 Subject: [PATCH] Actualiser mqtt-python.py --- mqtt-python.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/mqtt-python.py b/mqtt-python.py index 069c1ee..43d3cd6 100644 --- a/mqtt-python.py +++ b/mqtt-python.py @@ -94,14 +94,6 @@ try: while True: time.sleep(0.1) -except KeyboardInterrupt: - print ("exiting") - client.disconnect() - client.loop_stop() -try: - while True: - time.sleep(0.1) - except KeyboardInterrupt: print ("exiting") client.disconnect()