mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-07-03 16:31:17 +02:00
Update mesh-bot.py
This commit is contained in:
+2
-1
@@ -183,7 +183,8 @@ def get_node_list():
|
||||
for node in interface.nodes.values():
|
||||
#ignore own
|
||||
if node['num'] != myNodeNum:
|
||||
node_list.append([get_name_from_number(node['num']),node['lastHeard']])
|
||||
#append the name and the lastHeard value
|
||||
node_list.append((get_name_from_number(node['num']),node['lastHeard']))
|
||||
node_list.sort(key=lambda x: x[1],reverse=True)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user