X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/832bfbcc54cd38942d6df89e850d4268386d6241..f083ac4cb1be9bb6c14ce2045be90e0cdf23508e:/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