fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
thumbnails in blog api
[wolnelektury.git]
/
src
/
opds
/
views.py
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 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
def item_enclosure_length(self, book):
return book.epub_file.size if book.epub_file else None