From 4a68da6c1439f4e113000b820f6b6d2462d3e7c2 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Tue, 18 Jun 2024 22:23:40 -0700 Subject: [PATCH] Update mesh-bot.py --- mesh-bot.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/mesh-bot.py b/mesh-bot.py index 0d7c474..4e7eeac 100644 --- a/mesh-bot.py +++ b/mesh-bot.py @@ -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: