Skip to content

Commit 450295e

Browse files
committed
refactor
1 parent 2ff1abe commit 450295e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ipinfo/handler_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def format_details(details, countries, eu_countries):
5959
The countries object can be retrieved from read_country_names.
6060
"""
6161
details["country_name"] = countries.get(details.get("country"))
62-
details["isEU"] = details.get("country") in eu_countries if True else False
62+
details["isEU"] = details.get("country") in eu_countries
6363
details["latitude"], details["longitude"] = read_coords(details.get("loc"))
6464

6565

0 commit comments

Comments
 (0)