Actualiser mqtt-python.py
This commit is contained in:
parent
8c9f015b08
commit
3215912edd
|
@ -98,11 +98,3 @@ except KeyboardInterrupt:
|
||||||
print ("exiting")
|
print ("exiting")
|
||||||
client.disconnect()
|
client.disconnect()
|
||||||
client.loop_stop()
|
client.loop_stop()
|
||||||
try:
|
|
||||||
while True:
|
|
||||||
time.sleep(0.1)
|
|
||||||
|
|
||||||
except KeyboardInterrupt:
|
|
||||||
print ("exiting")
|
|
||||||
client.disconnect()
|
|
||||||
client.loop_stop()
|
|
Loading…
Reference in a new issue