From 496ac85949ddfa03d6297bfe0d0b735a2482be13 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Wed, 19 Jun 2024 14:46:11 -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 4d55dda..59a01cd 100644 --- a/mesh-bot.py +++ b/mesh-bot.py @@ -216,11 +216,11 @@ def get_node_location(number): for node in interface.nodes.values(): if number == node['num']: if 'position' in node: - print (node['position']) for data in node['position']: print (data['latitude']) print (data['longitude']) print (f"{log_timestamp()} System: Using location data for {number}") + position = [1,1] return position else: print (f"{log_timestamp()} System: No location data for {number}")