mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-08-06 02:21:42 +00:00
Fix some bugs #118
This commit is contained in:
@@ -621,7 +621,7 @@ class LookupHelper:
|
||||
def _get_dxcc_data_for_callsign(self, call) -> dict | None:
|
||||
"""Utility method to get generic DXCC data from our lookup table, if we can find it"""
|
||||
|
||||
for entry in self._dxcc_data.values():
|
||||
for entry in [DATA_STORE.dxcc_data[key] for key in DATA_STORE.dxcc_data]:
|
||||
if entry["_prefixRegexCompiled"].match(call):
|
||||
return entry
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user