Browse Source

fix: vpu if no artnet income

micha 2 years ago
parent
commit
d28a255a58
1 changed files with 2 additions and 0 deletions
  1. 2 0
      vpu/vpu_live.py

+ 2 - 0
vpu/vpu_live.py

@@ -96,6 +96,8 @@ s=time.time()
 import math
 while 1:
     x=mc.get("index")#cmd)
+    if x is None:
+        x = ["127.0.0.1"]
     for ip in x:
         #print( ip)
         ok = 0