fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Grouping libraries into different catalogs
[wolnelektury.git]
/
apps
/
api
/
handlers.py
diff --git
a/apps/api/handlers.py
b/apps/api/handlers.py
index
be5993c
..
dbe905b
100644
(file)
--- a/
apps/api/handlers.py
+++ b/
apps/api/handlers.py
@@
-138,7
+138,7
@@
class BookDetails(object):
@classmethod
def cover_thumb(cls, book):
return MEDIA_BASE + default.backend.get_thumbnail(
@classmethod
def cover_thumb(cls, book):
return MEDIA_BASE + default.backend.get_thumbnail(
- book.cover, "139x193").url
+ book.cover, "139x193").url
if book.cover else ''