From: Jan Szejko Date: Thu, 21 Dec 2017 13:10:56 +0000 (+0100) Subject: cover thumb with no box for api X-Git-Tag: 1.7~30 X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/f4fdb08e0b0ff0da9faed1ac5d89a1523cad7271?ds=sidebyside cover thumb with no box for api --- diff --git a/librarian/cover.py b/librarian/cover.py index 9e21cf4..717d5f0 100644 --- a/librarian/cover.py +++ b/librarian/cover.py @@ -413,6 +413,11 @@ class WLCover(Cover): return img +class WLNoBoxCover(WLCover): + def add_box(self, img): + return img + + class LogoWLCover(WLCover): gradient_height = 90 gradient_logo_height = 60