fnp
/
librarian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa42894
)
cover thumb with no box for api
author
Jan Szejko
<janek37@gmail.com>
Thu, 21 Dec 2017 13:10:56 +0000
(14:10 +0100)
committer
Jan Szejko
<janek37@gmail.com>
Thu, 21 Dec 2017 13:11:58 +0000
(14:11 +0100)
librarian/cover.py
patch
|
blob
|
history
diff --git
a/librarian/cover.py
b/librarian/cover.py
index
9e21cf4
..
717d5f0
100644
(file)
--- 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