From 6b2eed40794bcfa3eb89c6847382e7cb7be17b4f Mon Sep 17 00:00:00 2001 From: Marcin Koziej Date: Mon, 12 Dec 2011 09:39:21 +0100 Subject: [PATCH] fix variable name --- apps/catalogue/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.20.1