mirror of
https://gitlab.sectorq.eu/jaydee/auto_import.git
synced 2025-12-14 02:24:53 +01:00
build
This commit is contained in:
@@ -21,7 +21,7 @@ class mqtt_sender():
|
||||
self.port = port
|
||||
self.client_id = "dasdasdasd333"
|
||||
try:
|
||||
self.client = mqtt_client.Client(mqtt_client.CallbackAPIVersion.VERSION1, client_id)
|
||||
self.client = mqtt_client.Client(mqtt_client.CallbackAPIVersion.VERSION1, self.client_id)
|
||||
except:
|
||||
self.client = mqtt_client.Client()
|
||||
self.client.username_pw_set(self.name, self.password)
|
||||
|
||||
Reference in New Issue
Block a user