Correct a typo
This commit is contained in:
parent
9ceaa935b7
commit
9c3ed9dd2a
@ -20,7 +20,7 @@ Assuming file hierarchy like:
|
|||||||
'''
|
'''
|
||||||
|
|
||||||
def execute(command):
|
def execute(command):
|
||||||
return subprocess.check_output(command, shell).decode('utf-8')
|
return subprocess.check_output(command).decode('utf-8')
|
||||||
|
|
||||||
def getTextFromPdf(pdfPath):
|
def getTextFromPdf(pdfPath):
|
||||||
return execute(['pdftotext', '-raw', pdfPath, '-')
|
return execute(['pdftotext', '-raw', pdfPath, '-')
|
||||||
|
Loading…
Reference in New Issue
Block a user