From f4fdb08e0b0ff0da9faed1ac5d89a1523cad7271 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Thu, 21 Dec 2017 14:10:56 +0100 Subject: [PATCH] cover thumb with no box for api --- librarian/cover.py | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.20.1