From b7ba004877e5eda8fb78824668ef8279a7f80750 Mon Sep 17 00:00:00 2001 From: Aivars Vaivods Date: Thu, 9 Jan 2020 14:28:47 +0200 Subject: [PATCH] Fix indentation error in middleware.py --- django_ip_geolocation/middleware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_ip_geolocation/middleware.py b/django_ip_geolocation/middleware.py index e390c62..92b9bc2 100644 --- a/django_ip_geolocation/middleware.py +++ b/django_ip_geolocation/middleware.py @@ -31,7 +31,7 @@ def process_response(self, request, response): except Exception: logging.error("Couldn't geolocate ip", exc_info=True) - return response + return response def _get_geolocation(self, request): ip = get_remote_ip_from_request(request)