From 30d4e487c95b589230771389c1166bfa21ba7610 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Thu, 23 Oct 2025 12:12:54 -0700 Subject: [PATCH] Update locationdata.py --- modules/locationdata.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/locationdata.py b/modules/locationdata.py index 1f23afe..64eaedd 100644 --- a/modules/locationdata.py +++ b/modules/locationdata.py @@ -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