From 39e08aedae64b448e62728b8e4bb33cd61d640ba Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Mon, 23 Sep 2024 14:43:55 -0700 Subject: [PATCH] borked --- mesh_bot.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mesh_bot.py b/mesh_bot.py index af722c7..5fe5f65 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -466,7 +466,6 @@ def handle_sun(message_from_id, deviceID, channel_number): return get_sun(str(location[0]), str(location[1])) def handle_lheard(nodeid, deviceID): - global bbs_admin_list, lheardCmdIgnoreNode # display last heard nodes add to response bot_response = "LastHeard:\n" + str(get_node_list(1)) # gather telemetry @@ -517,7 +516,7 @@ def handle_lheard(nodeid, deviceID): return bot_response def handle_history(nodeid, deviceID, lheard=False): - global cmdHistory, lheardCmdIgnoreNode + global cmdHistory, lheardCmdIgnoreNode, bbs_admin_list msg = "" buffer = []