X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/06aa9a0cfb91249b55aafe26967730c3ea29ad96..640e6f5c1e85d05d728cd29a129df9ea8aa8f31f:/apps/api/handlers.py diff --git a/apps/api/handlers.py b/apps/api/handlers.py index be5993cd9..dbe905b00 100644 --- 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( - book.cover, "139x193").url + book.cover, "139x193").url if book.cover else ''