From 4cc6d3bb21e1dd597fa4a606eb90b93c69009886 Mon Sep 17 00:00:00 2001 From: xyj <10908227994@qq.com> Date: Mon, 18 Dec 2023 11:31:01 +0800 Subject: [PATCH] update --- MQTT.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/MQTT.py b/MQTT.py index 099ffd0..271ada5 100644 --- a/MQTT.py +++ b/MQTT.py @@ -76,7 +76,6 @@ class MQTTClient: if __name__ == '__main__': - # print(broker, port, subscribe_topic, publish_topic, username, password) # MQTT客户端 MQTT = MQTTClient(broker, port, subscribe_topic, username, password) # 循环连接 @@ -86,6 +85,5 @@ if __name__ == '__main__': # 阻塞监听 MQTT.client.loop_forever() except Exception as e: - # print(e) # 异常等待时间在进行连接 time.sleep(30)