X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/61e9916d2287a31a55605e5e7eb9268a86e3c6db..c7ff3149aa25aeda0a53ffa05761947a2e806484:/src/catalogue/fields.py diff --git a/src/catalogue/fields.py b/src/catalogue/fields.py index 1efc7697e..56de8c6da 100644 --- a/src/catalogue/fields.py +++ b/src/catalogue/fields.py @@ -358,6 +358,10 @@ class CoverField(EbookField): ext = 'jpg' directory = 'cover' + @staticmethod + def transform(wldoc): + return wldoc.as_cover() + def set_file_permissions(self, fieldfile): pass