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