From: Radek Czajka Date: Mon, 11 Feb 2019 10:51:34 +0000 (+0100) Subject: fixup X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/2633e1ad9f69bd056dd75e3af8ccf58104272585?hp=832bfbcc54cd38942d6df89e850d4268386d6241 fixup --- 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