diff --git a/auto_import_v2.py b/auto_import_v2.py index 385452c..8a7406c 100644 --- a/auto_import_v2.py +++ b/auto_import_v2.py @@ -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)