From 2a08a05c5bdc8fe332df2641930eb698d1378080 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Fri, 7 Jan 2011 18:28:00 +0100 Subject: [PATCH] get_media bugfix --- 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 1e6bb95e2..b258128ce 100644 --- a/apps/catalogue/models.py +++ b/apps/catalogue/models.py @@ -313,7 +313,7 @@ class Book(models.Model): elif type == "html": return self.html_file elif type == "epub": - return self.html_file + return self.epub_file elif type == "txt": return self.txt_file elif type == "pdf": -- 2.20.1