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 "