Skip to content

Commit

Permalink
Paho MQTT now requires protocol version
Browse files Browse the repository at this point in the history
  • Loading branch information
yusufk authored Mar 16, 2024
1 parent 70fba18 commit 20bb7e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ebilal.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
Expand Down

0 comments on commit 20bb7e6

Please sign in to comment.