From 2633e1ad9f69bd056dd75e3af8ccf58104272585 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Mon, 11 Feb 2019 11:51:34 +0100 Subject: [PATCH] fixup --- src/stats/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stats/utils.py b/src/stats/utils.py index 68a01f568..86ce54ccd 100644 --- a/src/stats/utils.py +++ b/src/stats/utils.py @@ -71,7 +71,7 @@ def piwik_track_view(view): def wrap(request, *args, **kwargs): if getattr(request, 'piwik_track', True): track_request.delay(piwik_url(request)) - return view(self, request, *args, **kwargs) + return view(request, *args, **kwargs) update_wrapper(wrap, view) return wrap -- 2.20.1