fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix
[wolnelektury.git]
/
src
/
catalogue
/
fields.py
diff --git
a/src/catalogue/fields.py
b/src/catalogue/fields.py
index
c592c55
..
6ae4da3
100644
(file)
--- a/
src/catalogue/fields.py
+++ b/
src/catalogue/fields.py
@@
-372,11
+372,8
@@
class CoverCleanField(CoverField):
@staticmethod
def transform(wldoc):
@staticmethod
def transform(wldoc):
- if wldoc.book_info.cover_box_position == 'none':
- from librarian.cover import WLCover
- return WLCover(wldoc.book_info, width=240).output_file()
from librarian.covers.marquise import MarquiseCover
from librarian.covers.marquise import MarquiseCover
- return MarquiseCover(wldoc.book_info, width=
24
0).output_file()
+ return MarquiseCover(wldoc.book_info, width=
36
0).output_file()
class CoverThumbField(CoverField):
class CoverThumbField(CoverField):