mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-03-28 17:32:36 +01:00
Update locationdata.py
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user