Skip to content

Commit

Permalink
fix: [country_lookup] key can be also 'Unknown'
Browse files Browse the repository at this point in the history
  • Loading branch information
adulau committed Oct 15, 2022
1 parent e95f9dd commit d79b3df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}
Expand Down

0 comments on commit d79b3df

Please sign in to comment.