Move checks for multiple references in comments out of POTA and DX Cluster classes into the main infer_missing() function for spots. #54

This commit is contained in:
Ian Renton
2025-11-02 16:18:33 +00:00
parent 286ff66721
commit 92af0761aa
4 changed files with 41 additions and 26 deletions

View File

@@ -19,7 +19,7 @@ def get_icon_for_sig(sig):
# Utility function to get the regex string for a SIG reference for a named SIG. If no match is found, None will be returned.
def get_ref_regex_for_sig(sig):
for s in SIGS:
if s.name == sig:
if s.name.upper() == sig.upper():
return s.ref_regex
return None