X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/832bfbcc54cd38942d6df89e850d4268386d6241..ef03d00cada0de76d1e97aa362237923243bb71e:/src/stats/utils.py 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