From 8804a5e6163a487d8d831265dff9cf3500eb7d28 Mon Sep 17 00:00:00 2001 From: xyj <10908227994@qq.com> Date: Wed, 31 Jan 2024 16:27:14 +0800 Subject: [PATCH] update --- MQTT.py | 1 - 1 file changed, 1 deletion(-) diff --git a/MQTT.py b/MQTT.py index 90d0a5a..24e4b41 100644 --- a/MQTT.py +++ b/MQTT.py @@ -22,7 +22,6 @@ class MQTTClient: self.topic = topic self.username = username self.password = password - # 千万不要指定client_id 不然死翘翘 self.client = mqtt.Client(client_id=subscribe_topic) self.client.username_pw_set(self.username, self.password) self.client.on_connect = self.on_connect