From f2cd20cec6083c7bc8fb17706b1718faa09a6139 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Fri, 30 Jul 2021 14:47:38 +0200 Subject: [PATCH] Minor building fix. --- src/catalogue/fields.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/catalogue/fields.py b/src/catalogue/fields.py index 448754957..4c8a780f0 100644 --- a/src/catalogue/fields.py +++ b/src/catalogue/fields.py @@ -56,7 +56,6 @@ class EbookField(models.FileField): """Represents an ebook file field, attachable to a model.""" attr_class = EbookFieldFile registry = [] - librarian2_api = False def __init__(self, format_name, *args, **kwargs): super(EbookField, self).__init__(*args, **kwargs) @@ -125,6 +124,8 @@ class EbookField(models.FileField): class BuildEbook(Task): + librarian2_api = False + formats = {} @classmethod -- 2.20.1