From 20bb7e67d89d5cc4b48aa0c6edc57b483554d52e Mon Sep 17 00:00:00 2001 From: Yusuf Kaka Date: Sat, 16 Mar 2024 17:59:17 +0200 Subject: [PATCH] Paho MQTT now requires protocol version --- ebilal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ebilal.py b/ebilal.py index 39fbf5c..3435c06 100644 --- a/ebilal.py +++ b/ebilal.py @@ -46,7 +46,7 @@ class LivemasjidClient: """Livemasjid client Object""" def __init__(self): - self.client = mqtt.Client() + self.client = mqtt.Client(mqtt.CallbackAPIVersion.VERSION1) self.livestreams = [] self.mounts = {} self.state = {"status":"starting"}