Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: David S. Batista <[email protected]>
  • Loading branch information
julian-risch and davidsbatista authored Jan 13, 2025
1 parent 9aab67b commit fd0d6aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions haystack/components/converters/pdfminer.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ def _converter(self, extractor) -> str:
pages.append(text)

# Add a page delimiter
concat = "\f".join(pages)
delimited_pages = "\f".join(pages)

return concat
return delimited_pages

@component.output_types(documents=List[Document])
def run(
Expand Down

0 comments on commit fd0d6aa

Please sign in to comment.