Get "qth" friendly name from QRZ/clublog and return in the callsign lookup. Closes #77

This commit is contained in:
Ian Renton
2025-11-02 20:51:16 +00:00
parent b313735e28
commit 2ccfa28119
5 changed files with 41 additions and 9 deletions

View File

@@ -121,7 +121,7 @@ class Alert:
# the actual alertting service, e.g. we don't want to accidentally use a user's QRZ.com home lat/lon instead of
# the one from the park reference they're at.
if self.dx_calls and not self.dx_names:
self.dx_names = list(map(lambda c: lookup_helper.infer_name_from_callsign(c), self.dx_calls))
self.dx_names = list(map(lambda c: lookup_helper.infer_name_from_callsign_online_lookup(c), self.dx_calls))
# Always create an ID based on a hash of every parameter *except* received_time. This is used as the index
# to a map, which as a byproduct avoids us having multiple duplicate copies of the object that are identical