From d6b0dc6c722c759ff2d9114202fb915287921082 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Fri, 16 Feb 2024 00:25:31 +0100 Subject: [PATCH] removed data none check 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 f89e565..4ddc05a 100644 --- a/server/app.py +++ b/server/app.py @@ -119,7 +119,7 @@ def start_mqtt_publishers(): # Gets whatever the last Art-Net packet we received is artNetPacket = artNet.readPacket() # Make sure we actually *have* a packet - if artNetPacket is not None and artNetPacket.data is not None: + if artNetPacket is not None: #Checks to see if the current packet is for the specified DMX Universe dmxPacket = artNetPacket.data for i in range(512):