From 1f093c4bc25655020a49ffa36ede579274bc9936 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Mon, 13 Oct 2025 10:02:22 -0700 Subject: [PATCH] Update system.py --- modules/system.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/system.py b/modules/system.py index ce1463f..cd695d7 100644 --- a/modules/system.py +++ b/modules/system.py @@ -527,6 +527,7 @@ def get_node_location(nodeID, nodeInt=1, channel=0, round_digits=2): interface = globals()[f'interface{nodeInt}'] fuzzed_position = [round(latitudeValue, round_digits), round(longitudeValue, round_digits)] + config_position = [latitudeValue, longitudeValue] # Try to find an exact location for the requested node if interface.nodes: @@ -554,7 +555,7 @@ def get_node_location(nodeID, nodeInt=1, channel=0, round_digits=2): # Return fuzzed config location if no valid position found return fuzzed_position else: - return [latitudeValue, longitudeValue] + return config_position def get_closest_nodes(nodeInt=1,returnCount=3): interface = globals()[f'interface{nodeInt}']