From 8802ba0a04464a3dcb9e1cbc83e02b10ea30e808 Mon Sep 17 00:00:00 2001 From: Julien Date: Mon, 4 Nov 2024 15:43:56 +0100 Subject: [PATCH] Add quiet option to pdftotext parser Fix issue #459 --- src/invoice2data/input/pdftotext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invoice2data/input/pdftotext.py b/src/invoice2data/input/pdftotext.py index e3cef464..907e7707 100644 --- a/src/invoice2data/input/pdftotext.py +++ b/src/invoice2data/input/pdftotext.py @@ -24,7 +24,7 @@ def to_text(path: str, area_details: dict = None): import shutil if shutil.which('pdftotext'): - cmd = ["pdftotext", "-layout", "-enc", "UTF-8"] + cmd = ["pdftotext", "-layout", "-q", "-enc", "UTF-8"] if area_details is not None: # An area was specified # Validate the required keys were provided