feat(UNIPipe): change default drop_mode to NONE_WITH_REASON

This commit is contained in:
myhloli
2024-09-18 17:43:16 +08:00
parent c4a52ee6c6
commit 23b621e05a
+1 -1
View File
@@ -47,7 +47,7 @@ class UNIPipe(AbsPipe):
start_page_id=self.start_page_id, end_page_id=self.end_page_id,
lang=self.lang)
def pipe_mk_uni_format(self, img_parent_path: str, drop_mode=DropMode.WHOLE_PDF):
def pipe_mk_uni_format(self, img_parent_path: str, drop_mode=DropMode.NONE_WITH_REASON):
result = super().pipe_mk_uni_format(img_parent_path, drop_mode)
logger.info("uni_pipe mk content list finished")
return result