@@ -248,13 +248,21 @@ while not pyray.window_should_close():
p=0
keys = []
host_list = {}
+ if not DATA:
+ DATA = {}
+ print("mc.get ist NONE")
+ pyray.draw_text_ex(font25,"ERR:{NO DATA}",[10,5], 25, 0, pyray.VIOLET)
+ pyray.end_drawing()
+ time.sleep(0.5)
+ continue
+
for k in DATA:
#print(k,DATA[k])
#print(k)
keys.append(k)
host_list[k] = DATA[k] #[0]).ljust(" ",18) #,0,"=",0]
keys.sort()
-
k=keys[0]
if cur is None: