Fix recent versions of tesseract not registering as textonly_pdf

This change happened sometime after the 4.0.0-beta1 release in
Ubuntu 18.04
This commit is contained in:
James R. Barlow
2018-06-23 02:59:22 -07:00
parent 1d10eac764
commit 25a1dde57c
+2 -1
View File
@@ -73,7 +73,8 @@ def has_textonly_pdf():
"""
args_tess = [
'tesseract',
'--print-parameters'
'--print-parameters',
'pdf'
]
params = ''
try: