From c7b4bce1aa53de0ab3e761f4e7875b2ab3f76eef Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Tue, 8 Oct 2024 20:54:47 -0700 Subject: [PATCH] Update mesh_bot.py --- mesh_bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesh_bot.py b/mesh_bot.py index 16bb9f1..d0d8b98 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -759,6 +759,7 @@ def handle_whoami(message_from_id, deviceID, hop, snr, rssi, pkiStatus): msg += f"\nYou are at: lat:{loc[0]} lon:{loc[1]}" # check the positionMetadata for nodeID and get metadata + print(f"DEBUG: whoami: {positionMetadata}") if positionMetadata: for i in range(len(positionMetadata)): if positionMetadata[i].get('nodeID') == message_from_id: @@ -766,7 +767,6 @@ def handle_whoami(message_from_id, deviceID, hop, snr, rssi, pkiStatus): except Exception as e: logger.error(f"System: Error in whoami: {e}") msg = "Error in whoami" - return msg def check_and_play_game(tracker, message_from_id, message_string, rxNode, channel_number, game_name, handle_game_func):