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