X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/af77776a9ff93ac89cfe941c8a97e3e4cac1bd2e..1f833acede38e81683b2bdc9096edf203c6ceb1e:/apps/reporting/utils.py diff --git a/apps/reporting/utils.py b/apps/reporting/utils.py index 919e2edc1..8a7a6cf1d 100755 --- 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__"):