mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-08-07 17:32:52 +02:00
Update mesh_bot.py
This commit is contained in:
+2
-1
@@ -850,7 +850,8 @@ def handle_whois(message, deviceID, channel_number, message_from_id):
|
||||
location = get_node_location(seenNodes[i]['nodeID'], deviceID, channel_number)
|
||||
msg += f"Ch: {seenNodes[i]['channel']}, Int: {seenNodes[i]['rxInterface']}"
|
||||
msg += f"Lat: {location[0]}, Lon: {location[1]}\n"
|
||||
msg += f"Loc: {where_am_i(str(location[0]), str(location[1]))}\n"
|
||||
if location != [latitudeValue, longitudeValue]:
|
||||
msg += f"Loc: {where_am_i(str(location[0]), str(location[1]))}\n"
|
||||
|
||||
return msg
|
||||
|
||||
|
||||
Reference in New Issue
Block a user