fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1615a02
)
previews: update epub urls in opds
author
Jan Szejko
<janek37@gmail.com>
Wed, 30 May 2018 14:12:21 +0000
(16:12 +0200)
committer
Jan Szejko
<janek37@gmail.com>
Wed, 30 May 2018 14:12:21 +0000
(16:12 +0200)
src/opds/views.py
patch
|
blob
|
history
diff --git
a/src/opds/views.py
b/src/opds/views.py
index
189ff0f
..
0c31cd2
100644
(file)
--- a/
src/opds/views.py
+++ b/
src/opds/views.py
@@
-201,7
+201,7
@@
class AcquisitionFeed(Feed):
return u''
def item_enclosure_url(self, book):
- return full_url(book.epub_
file.url
) if book.epub_file else None
+ return full_url(book.epub_
url()
) if book.epub_file else None
def item_enclosure_length(self, book):
return book.epub_file.size if book.epub_file else None