Skip to content

Commit 16338cf

Browse files
committed
fixbug
fix filtered type
1 parent e8babdd commit 16338cf

File tree

1 file changed

+1
-1
lines changed
  • src/bisheng_unstructured/documents/pdf_parser

1 file changed

+1
-1
lines changed

src/bisheng_unstructured/documents/pdf_parser/pdf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -926,7 +926,7 @@ def _allocate_semantic(
926926
if label == TABLE_ID:
927927
filtered_blocks.append(b)
928928

929-
if label == LAYOUT_ID:
929+
elif label == LAYOUT_ID:
930930
b.block_text = join_lines(b.ts, False, lang)
931931
filtered_blocks.append(b)
932932

0 commit comments

Comments
 (0)