|
@@ -319,7 +319,7 @@ while not pyray.window_should_close():
|
|
|
GREY = [122,122,122,255]
|
|
|
p=0
|
|
|
keys = []
|
|
|
- host_list = {}
|
|
|
+ host_list = {} #"0":[]}
|
|
|
k="xxx"
|
|
|
if DATA is None:
|
|
|
k="None"
|
|
@@ -347,7 +347,12 @@ while not pyray.window_should_close():
|
|
|
render_grid(cur,250,50)
|
|
|
|
|
|
p=0
|
|
|
- for k,v in host_list.items():
|
|
|
+ host_list_key = list(host_list.keys())
|
|
|
+ host_list_key.sort()
|
|
|
+
|
|
|
+ #for k,v in host_list.items():
|
|
|
+ for k in host_list_key:
|
|
|
+ v=host_list[k]
|
|
|
x2 = 10
|
|
|
y2 = 60+p #grid_y+p
|
|
|
v = str(v).replace(" ","").replace("[","").replace("]","")
|