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