Correct a typo

This commit is contained in:
Benjamin Loison 2023-07-28 18:15:03 +02:00
parent 9ceaa935b7
commit 9c3ed9dd2a
Signed by: Benjamin_Loison
SSH Key Fingerprint: SHA256:BtnEgYTlHdOg1u+RmYcDE0mnfz1rhv5dSbQ2gyxW8B8

View File

@ -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, '-')