mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-09-20 14:27:42 +00:00
Add icons back to spots & alerts
This commit is contained in:
+10
-1
@@ -99,7 +99,16 @@ def infer_mode_from_frequency(freq):
|
||||
or (28180 <= khz < 28183)
|
||||
):
|
||||
mode = "FT4"
|
||||
return mode
|
||||
|
||||
if not mode:
|
||||
return None
|
||||
|
||||
mode = mode.upper()
|
||||
if mode in MODE_ALIASES:
|
||||
mode = MODE_ALIASES[mode]
|
||||
|
||||
return Mode(mode)
|
||||
|
||||
except KeyError:
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user