fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
9f982b5
)
fix
author
Radek Czajka
<rczajka@rczajka.pl>
Thu, 6 Oct 2022 09:30:47 +0000
(11:30 +0200)
committer
Radek Czajka
<rczajka@rczajka.pl>
Thu, 6 Oct 2022 09:30:47 +0000
(11:30 +0200)
src/catalogue/fields.py
patch
|
blob
|
history
diff --git
a/src/catalogue/fields.py
b/src/catalogue/fields.py
index
1efc769
..
56de8c6
100644
(file)
--- a/
src/catalogue/fields.py
+++ b/
src/catalogue/fields.py
@@
-358,6
+358,10
@@
class CoverField(EbookField):
ext = 'jpg'
directory = 'cover'
ext = 'jpg'
directory = 'cover'
+ @staticmethod
+ def transform(wldoc):
+ return wldoc.as_cover()
+
def set_file_permissions(self, fieldfile):
pass
def set_file_permissions(self, fieldfile):
pass