From 21de3884f82ce6c9b2d538d8d63c41cf68c9bae7 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Thu, 6 Oct 2022 11:30:47 +0200 Subject: [PATCH 1/1] fix --- src/catalogue/fields.py | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.20.1