Update locationdata.py

This commit is contained in:
SpudGunMan
2025-10-23 12:13:25 -07:00
parent 30d4e487c9
commit a19dc93350
+2 -2
View File
@@ -1128,11 +1128,11 @@ def mapHandler(userID, deviceID, channel_number, message, snr, rssi, hop):
# if there is SNR and RSSI info, append to description
if snr is not None and rssi is not None:
description += f" (SNR:{snr}dB RSSI:{rssi}dBm"
description += f" SNR:{snr}dB RSSI:{rssi}dBm"
# if there is hop info, append to description
if hop is not None:
description += f" Meta:{hop})"
description += f" Meta:{hop}"
# location should be a tuple: (lat, lon)
if not location or len(location) != 2: