cover thumb with no box for api
authorJan Szejko <janek37@gmail.com>
Thu, 21 Dec 2017 13:10:56 +0000 (14:10 +0100)
committerJan Szejko <janek37@gmail.com>
Thu, 21 Dec 2017 13:11:58 +0000 (14:11 +0100)
librarian/cover.py

index 9e21cf4..717d5f0 100644 (file)
@@ -413,6 +413,11 @@ class WLCover(Cover):
         return img
 
 
         return img
 
 
+class WLNoBoxCover(WLCover):
+    def add_box(self, img):
+        return img
+
+
 class LogoWLCover(WLCover):
     gradient_height = 90
     gradient_logo_height = 60
 class LogoWLCover(WLCover):
     gradient_height = 90
     gradient_logo_height = 60