fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
832bfbc
)
fixup
author
Radek Czajka
<rczajka@rczajka.pl>
Mon, 11 Feb 2019 10:51:34 +0000
(11:51 +0100)
committer
Radek Czajka
<rczajka@rczajka.pl>
Mon, 11 Feb 2019 10:51:34 +0000
(11:51 +0100)
src/stats/utils.py
patch
|
blob
|
history
diff --git
a/src/stats/utils.py
b/src/stats/utils.py
index
68a01f5
..
86ce54c
100644
(file)
--- 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))
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
update_wrapper(wrap, view)
return wrap