diff --git a/src/paperless_tesseract/parsers.py b/src/paperless_tesseract/parsers.py index c90c9f020..43c898df5 100644 --- a/src/paperless_tesseract/parsers.py +++ b/src/paperless_tesseract/parsers.py @@ -235,6 +235,6 @@ def get_text_from_pdf(pdf_file): try: pdf = pdftotext.PDF(f) except pdftotext.Error: - return False + return "" return "\n".join(pdf)