X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/e2e94b4feb7f08974999a16c720911d0094c3797..2a08a05c5bdc8fe332df2641930eb698d1378080:/apps/catalogue/models.py 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":