From d6e06901d3f72a5bd74454fbd21299d7311406e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 17 Feb 2024 17:12:12 +0100 Subject: [PATCH] tube index globalisation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- server/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/server/app.py b/server/app.py index 39ecae1..69899f4 100644 --- a/server/app.py +++ b/server/app.py @@ -119,6 +119,7 @@ def mqtt_publisher(): artnetBindIp = get_eth0_ip() artNet = Artnet.Artnet(BINDIP = artnetBindIp, DEBUG = True, SHORTNAME = "PiXelTubeMaster", LONGNAME = "PiXelTubeMaster", PORT = 6454) while True: + global TUBE_INDEX try: # Gets whatever the last Art-Net packet we received is artNetPacket = artNet.readPacket()