From b38127253e7896599013071c9043b06fcd566823 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Tue, 13 Feb 2024 01:01:48 +0100 Subject: [PATCH] added callback MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- server/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/app.py b/server/app.py index 3fe407b..44581fd 100644 --- a/server/app.py +++ b/server/app.py @@ -122,7 +122,7 @@ def mqtt_publisher(universe): receiver.start() @receiver.listen_on('universe', universe=universe) - @receiver.register_listener('universe', universe=universe) + @receiver.register_listener('universe', universe=universe, callback=callback) def callback(packet): # packet type: sacn.DataPacket print(packet.dmxData) global dmx_values