From a73aa25856adc3c725d1f533e9fb155946f83550 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Wed, 19 Jun 2024 00:32:30 -0700 Subject: [PATCH] Update mesh-bot.py --- mesh-bot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mesh-bot.py b/mesh-bot.py index bc3b9bd..58ac37d 100644 --- a/mesh-bot.py +++ b/mesh-bot.py @@ -199,7 +199,8 @@ def get_node_list(): node_list.sort(key=lambda x: x[1], reverse=True) #return only the last 5 nodes - return node_list[:5] + nice_node_list = [x[0] for x in node_list[:5]] + return nice_node_list[:5] else: node_list.append("Nothing heard") return node_list