diff --git a/bnp_pdf_statement_parser.py b/bnp_pdf_statement_parser.py index 72bcfd8..a80c066 100755 --- a/bnp_pdf_statement_parser.py +++ b/bnp_pdf_statement_parser.py @@ -20,7 +20,7 @@ Assuming file hierarchy like: ''' def execute(command): - return subprocess.check_output(command, shell).decode('utf-8') + return subprocess.check_output(command).decode('utf-8') def getTextFromPdf(pdfPath): return execute(['pdftotext', '-raw', pdfPath, '-')