From: Radek Czajka Date: Fri, 30 Jul 2021 12:47:38 +0000 (+0200) Subject: Minor building fix. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/f2cd20cec6083c7bc8fb17706b1718faa09a6139 Minor building fix. --- 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