Actualiser mqtt-python.py
This commit is contained in:
parent
8c9f015b08
commit
3215912edd
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue