fix: [country_lookup] key can be also 'Unknown'

This commit is contained in:
Alexandre Dulaunoy 2022-10-15 10:06:53 +02:00
parent e95f9dd7cb
commit d79b3dfbca
Signed by: adulau
GPG key ID: 09E2CD4944E6CBCD

View file

@ -61,7 +61,7 @@ def pubLookup(value: str) -> bool:
def countryLookup(country: str) -> dict: def countryLookup(country: str) -> dict:
if country != 'None' or country is not None: if country != 'None' or country is not None or country != 'Unknown':
return country_info[country] return country_info[country]
else: else:
return {} return {}