From 86247d87316fe9b53d6da1a0997db6f2e12a9426 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Wed, 19 Jun 2024 00:39:41 -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 b52e80c..1c199db 100644 --- a/mesh-bot.py +++ b/mesh-bot.py @@ -197,7 +197,7 @@ def get_node_list(): node_list.append(item) node_list.sort(key=lambda x: x[1], reverse=True) - print (f"Node List: {node_list[:5]}\n") + #print (f"Node List: {node_list[:5]}\n") #return only the last 5 nodes nice_node_list = [x[0] for x in node_list[:5]] return nice_node_list @@ -222,7 +222,7 @@ def exit_handler(signum, frame): print ("\nMeshtastic Autoresponder PONG Bot CTL+C to exit\n") pub.subscribe(onReceive, 'meshtastic.receive') -print (f"System: Autoresponder Started for device {myNodeNum}") +print (f"System: Autoresponder Started for device {get_name_from_number(myNodeNum)}") while True: signal.signal(signal.SIGINT, exit_handler)