Update mesh-bot.py

This commit is contained in:
SpudGunMan
2024-06-19 14:43:04 -07:00
parent f109472c40
commit 9fca875561
+1
View File
@@ -216,6 +216,7 @@ 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']:
position = [data['latitude'],data['longitude']]
print (f"{log_timestamp()} System: Using location data for {number}")