From: Marcin Koziej Date: Mon, 12 Dec 2011 08:39:21 +0000 (+0100) Subject: fix variable name X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/6b2eed40794bcfa3eb89c6847382e7cb7be17b4f?ds=inline fix variable name --- diff --git a/apps/catalogue/views.py b/apps/catalogue/views.py index 0722f39b7..235a17dd5 100644 --- a/apps/catalogue/views.py +++ b/apps/catalogue/views.py @@ -789,7 +789,7 @@ def download_zip(request, format, book=None): def download_custom_pdf(request, book_fileid): - kwargs = models.Book.split_urlid(book) + kwargs = models.Book.split_fileid(book_fileid) if kwargs is None: raise Http404 book = get_object_or_404(models.Book, **kwargs)