mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-04-30 18:42:17 +02:00
Update system.py
This commit is contained in:
@@ -1015,7 +1015,7 @@ def consumeMetadata(packet, rxNode=0):
|
||||
if 'latitude' in position_data and 'longitude' in position_data:
|
||||
flight_info = get_openskynetwork(position_data.get('latitude', 0), position_data.get('longitude', 0))
|
||||
if flight_info and NO_ALERTS not in flight_info and ERROR_FETCHING_DATA not in flight_info:
|
||||
msg += f"\n✈️Detected near: {flight_info}"
|
||||
msg += f"\n✈️Detected near:\n{flight_info}"
|
||||
|
||||
send_message(msg, highfly_channel, 0, highfly_interface)
|
||||
time.sleep(responseDelay)
|
||||
|
||||
Reference in New Issue
Block a user