diff --git a/lib/location.py b/lib/location.py index 4ceb76b..369a239 100644 --- a/lib/location.py +++ b/lib/location.py @@ -117,7 +117,7 @@ def get_location(ip_addr): """ response = GEOIP_READER.city(ip_addr) - country = response.country.iso_code + country = response.country.name city = response.city.name #