mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-04-29 18:25:58 +00:00
Fix a parsing bug with NG3K
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user