fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
reenable pdf catalogue caching,
[wolnelektury.git]
/
apps
/
reporting
/
utils.py
diff --git
a/apps/reporting/utils.py
b/apps/reporting/utils.py
index
919e2ed
..
8a7a6cf
100755
(executable)
--- a/
apps/reporting/utils.py
+++ b/
apps/reporting/utils.py
@@
-79,7
+79,7
@@
def generated_file_view(file_name, mime_type, send_name=None, signals=None):
def decorator(func):
def view(request, *args, **kwargs):
- if not os.path.exists(file_path)
or True
:
+ if not os.path.exists(file_path):
func(file_path, *args, **kwargs)
if hasattr(send_name, "__call__"):