From 763e3c63873af9ebd786f57cd0d62556bd7f664b Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Tue, 18 Jun 2024 23:22:03 -0700 Subject: [PATCH] Update mesh-bot.py --- mesh-bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mesh-bot.py b/mesh-bot.py index 60b3e25..e07542d 100644 --- a/mesh-bot.py +++ b/mesh-bot.py @@ -188,10 +188,10 @@ def get_node_list(): #append the name and the lastHeard value node_name = get_name_from_number(node['num']) last_heard = node['lastHeard'] - node_list.append([node_name,last_heard]) + print (f"Node: {node_name} Last Heard: {last_heard}") #sort matrix by lastHeard - node_list.sort(key=lambda x: x[1], reverse=True) + #node_list.sort(key=lambda x: x[1], reverse=True) #return only the last 5 nodes