From 7b49c1a8c8a2c7634342ebcacb5520f8e243fda4 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Mon, 12 Dec 2011 09:36:41 +0100 Subject: [PATCH] Book.short_html fix --- apps/catalogue/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/catalogue/models.py b/apps/catalogue/models.py index afc241ddd..12b394d00 100644 --- a/apps/catalogue/models.py +++ b/apps/catalogue/models.py @@ -481,7 +481,7 @@ class Book(models.Model): formats = [] # files generated during publication if self.has_media("html"): - formats.append(u'%s' % (reverse('book_text', [self.fileid()]), _('Read online'))) + formats.append(u'%s' % (reverse('book_text', args=[self.fileid()]), _('Read online'))) if self.has_media("pdf"): formats.append(u'PDF' % self.get_media('pdf').url) if self.has_media("mobi"): -- 2.20.1