X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/99f6dd4f1ff0390de9a9bbd4e3352b953cb9a235..aae8a623a8d2fbc6edf6cfc5f070c161084f37be:/apps/waiter/views.py?ds=sidebyside diff --git a/apps/waiter/views.py b/apps/waiter/views.py index 0892ca91b..b951cc4c8 100644 --- a/apps/waiter/views.py +++ b/apps/waiter/views.py @@ -17,8 +17,6 @@ def wait(request, path): else: file_url = "" waiting = get_object_or_404(WaitedFile, path=path) - if waiting.is_stale(): - waiting = None if request.is_ajax(): return HttpResponse(file_url)