This commit is contained in:
Edward Betts 2023-05-13 15:01:28 +02:00
parent 47e1280269
commit c607351699
7 changed files with 274 additions and 69 deletions

View file

@ -83,8 +83,8 @@ def get_hit_name(hit):
if len(address) == 1:
return n1
country = address.pop("country")
country_code = address.pop("country_code")
country = address.pop("country", None)
country_code = address.pop("country_code", None)
if country_code:
country_code == country_code.lower()