Update mesh-bot.py

This commit is contained in:
SpudGunMan
2024-06-19 14:35:30 -07:00
parent 53040e83b8
commit ec18fc3e33

View File

@@ -216,7 +216,7 @@ def get_node_location(number):
for node in interface.nodes.values():
if number == node['num']:
print (node)
if 'latitudeI' in node:
if 'latitude' in node:
lat = node['latitude']
lon = node['longitude']
position = (lat,lon)