We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ff1abe commit 450295eCopy full SHA for 450295e
ipinfo/handler_utils.py
@@ -59,7 +59,7 @@ def format_details(details, countries, eu_countries):
59
The countries object can be retrieved from read_country_names.
60
"""
61
details["country_name"] = countries.get(details.get("country"))
62
- details["isEU"] = details.get("country") in eu_countries if True else False
+ details["isEU"] = details.get("country") in eu_countries
63
details["latitude"], details["longitude"] = read_coords(details.get("loc"))
64
65
0 commit comments