mirror of
https://github.com/nikdoof/aaisp2mqtt.git
synced 2025-12-17 12:49:22 +00:00
Call paho loop to ensure messages are sent
This commit is contained in:
@@ -162,6 +162,7 @@ def main():
|
|||||||
|
|
||||||
# disconnect
|
# disconnect
|
||||||
LOG.info('Disconnecting from MQTT')
|
LOG.info('Disconnecting from MQTT')
|
||||||
|
client.loop()
|
||||||
client.disconnect()
|
client.disconnect()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user