Update locationdata.py

This commit is contained in:
SpudGunMan
2025-10-23 12:12:54 -07:00
parent 5bf1ade2b0
commit 30d4e487c9

View File

@@ -1119,6 +1119,9 @@ def mapHandler(userID, deviceID, channel_number, message, snr, rssi, hop):
)
description = command.strip()
# if no description provided, set to default
if not description:
description = "Logged:"
# Sanitize description for CSV injection
if description and description[0] in ('=', '+', '-', '@'):
description = "'" + description