fixed non type

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-13 13:59:40 +01:00
parent 1d7577159d
commit 3a48d09b5b
1 changed files with 11 additions and 10 deletions

View File

@ -119,6 +119,7 @@ def mqtt_publisher(universe, artnetPacket):
try: try:
dmx_values = artnetPacket.data dmx_values = artnetPacket.data
while True: while True:
if artnetPacket is not None and artnetPacket.data is not None:
if artnetPacket.universe == universe: if artnetPacket.universe == universe:
if dmx_values is not None: if dmx_values is not None:
dmxPacket = artnetPacket.data dmxPacket = artnetPacket.data