Fix a parsing bug with NG3K

This commit is contained in:
Ian Renton
2026-04-11 08:14:52 +01:00
parent ac1ab4bd2d
commit a3332aa023
10 changed files with 24 additions and 24 deletions

View File

@@ -68,9 +68,9 @@ class NG3K(HTTPAlertProvider):
dx_country = parts[1]
qsl_info = parts[3]
bands = extra_parts[1]
modes = extra_parts[2] if len(extra_parts) > 3 else ""
comment = extra_parts[-1]
bands = extra_parts[1] if len(extra_parts) > 1 else ""
modes = extra_parts[2] if len(extra_parts) > 2 else ""
comment = extra_parts[3] if len(extra_parts) > 3 else ""
# Convert to our alert format
alert = Alert(source=self.name,