From 5d1f6fa22468f4534010088532638b056baa926d Mon Sep 17 00:00:00 2001 From: eric Date: Thu, 20 Jun 2013 14:34:44 -0400 Subject: [PATCH] quick fix for readmill --- frontend/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/views.py b/frontend/views.py index 5b17acfc..cf5572bd 100755 --- a/frontend/views.py +++ b/frontend/views.py @@ -2353,7 +2353,8 @@ def download(request, work_id): other_ebooks = work.ebooks().filter(edition__unglued=False) try: readmill_epub_ebook = work.ebooks().filter(format='epub').exclude(provider='Google Books')[0] - readmill_epub_url = settings.BASE_URL_SECURE + reverse('download_ebook',args=[readmill_epub_ebook.id]) + #readmill_epub_url = settings.BASE_URL_SECURE + reverse('download_ebook',args=[readmill_epub_ebook.id]) + readmill_epub_url = readmill_epub_ebook.url except: readmill_epub_url = None