X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/d04e61819290fc8d6d71b1932c55a774014c1f05..261a3308d235fc252f30ae03603d0e964bb60223:/src/librarian/elements/root/__init__.py

diff --git a/src/librarian/elements/root/__init__.py b/src/librarian/elements/root/__init__.py
index 8e624bd..541895a 100644
--- a/src/librarian/elements/root/__init__.py
+++ b/src/librarian/elements/root/__init__.py
@@ -17,6 +17,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):