Stop cleaning up comments, Spothole should be agnostic to that kind of thing.

This commit is contained in:
Ian Renton
2025-10-25 10:16:15 +01:00
parent 0ead59a985
commit 6eb1bd5ef1
2 changed files with 0 additions and 13 deletions

View File

@@ -249,14 +249,6 @@ class Spot:
if self.comment and not self.qrt:
self.qrt = "QRT" in self.comment.upper()
# Clean up comments
if self.comment:
comment = re.sub(r"\(de [A-Za-z0-9]*\)", "", self.comment)
comment = re.sub(r"\[.*]:", "", comment)
comment = re.sub(r"\[.*]", "", comment)
comment = re.sub(r"\"\"", "", comment)
self.comment = comment.strip()
# DX operator details lookup, using QRZ.com. This should be the last resort compared to taking the data from
# the actual spotting service, e.g. we don't want to accidentally use a user's QRZ.com home lat/lon instead of
# the one from the park reference they're at.