From 2fc3930b4327d74aeabcc515ab5863677cfbf3a6 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Tue, 3 Sep 2024 23:22:02 -0700 Subject: [PATCH] Update mesh_bot.py --- mesh_bot.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mesh_bot.py b/mesh_bot.py index 84765a3..6937744 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -109,8 +109,10 @@ def handle_llm(message_from_id, channel_number, deviceID, message, publicChannel global llmRunCounter, llmTotalRuntime location = get_node_location(message_from_id, deviceID) - if location_enabled and not NO_DATA_NOGPS in location: + if location_enabled: location_name = where_am_i(str(location[0]), str(location[1]), short = True) + if NO_DATA_NOGPS in location_name: + location_name = "no location provided " else: location_name = "no location provided "