X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/d04e61819290fc8d6d71b1932c55a774014c1f05..e18331d927f54751163baf89bb2c93ae0c854a3b:/src/librarian/elements/root/__init__.py?ds=sidebyside diff --git a/src/librarian/elements/root/__init__.py b/src/librarian/elements/root/__init__.py index 8e624bd..ae7705e 100644 --- a/src/librarian/elements/root/__init__.py +++ b/src/librarian/elements/root/__init__.py @@ -1,3 +1,6 @@ +# This file is part of Librarian, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Wolne Lektury. See NOTICE for more information. +# from ..base import WLElement from ..masters import Master @@ -17,6 +20,8 @@ class Utwor(WLElement): # This should not generally happen. if self.getparent() is not None: return self.getparent().meta + # Fallback + return self.document.base_meta @property def master(self):