New EPUB builder, other minor changes.
[librarian.git] / src / librarian / builders / sanitize.py
index 4d7f7f9..9897482 100644 (file)
@@ -6,7 +6,7 @@ class Sanitizer:
     identifier = 'sanitize'
     file_extension = 'xml2'
 
     identifier = 'sanitize'
     file_extension = 'xml2'
 
-    def build(self, document):
+    def build(self, document, **kwargs):
         doc = document.tree.getroot() # TODO: copy
         doc.sanitize()
         return OutputFile.from_bytes(
         doc = document.tree.getroot() # TODO: copy
         doc.sanitize()
         return OutputFile.from_bytes(