Update mesh-bot.py

This commit is contained in:
SpudGunMan
2024-06-18 22:23:40 -07:00
parent 1df97a843e
commit 4a68da6c14
-2
View File
@@ -176,8 +176,6 @@ def get_node_list():
if node['num'] != myNodeNum:
node_list.append(get_name_from_number(node['num']))
#sort the list by lastHeard
node_list.sort(key=lambda x: x['lastHeard'], reverse=True)
#return only the last 5 nodes
return node_list[:5]
else: