Skip to content

Commit

Permalink
Fix missing argument in mqtt.Client
Browse files Browse the repository at this point in the history
due to new breaking change in paho.mqtt library starting from v2.0

Co-authored-by: Petter Rasmussen 147414449+prasm313@users.noreply.github.com
  • Loading branch information
tsundvoll committed Feb 16, 2024
1 parent 937721d commit 2e32cf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/isar/services/service_connections/mqtt/mqtt_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def __init__(self, mqtt_queue: Queue) -> None:

self.port: int = settings.MQTT_PORT

self.client: Client = Client()
self.client: Client = Client(mqtt.CallbackAPIVersion.VERSION1)

self.client.enable_logger(logger=self.logger)

Expand Down

0 comments on commit 2e32cf8

Please sign in to comment.