mirror of
https://github.com/adulau/mmdb-server.git
synced 2024-12-03 15:17:12 +00:00
fix: [country_lookup] key can be also 'Unknown'
This commit is contained in:
parent
e95f9dd7cb
commit
d79b3dfbca
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ def pubLookup(value: str) -> bool:
|
|||
|
||||
|
||||
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]
|
||||
else:
|
||||
return {}
|
||||
|
|
Loading…
Reference in a new issue