Skip to content

Commit

Permalink
Add quiet option to pdftotext parser
Browse files Browse the repository at this point in the history
Fix issue #459
  • Loading branch information
julien-gm authored and bosd committed Nov 5, 2024
1 parent c221f8b commit 8802ba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/invoice2data/input/pdftotext.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8802ba0

Please sign in to comment.