Only write translators on cover if they fit.
[librarian.git] / src / librarian / elements / root / __init__.py
index 8e624bd..541895a 100644 (file)
@@ -17,6 +17,8 @@ class Utwor(WLElement):
             # This should not generally happen.
             if self.getparent() is not None:
                 return self.getparent().meta
             # 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):
 
     @property
     def master(self):