From d79b3dfbca2583097289695f91d0f2baf849ea88 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Sat, 15 Oct 2022 10:06:53 +0200 Subject: [PATCH] fix: [country_lookup] key can be also 'Unknown' --- bin/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/server.py b/bin/server.py index ff142c6..9cb59cc 100644 --- a/bin/server.py +++ b/bin/server.py @@ -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 {}