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:55:58 -07:00
parent b81daf71d1
commit b7ff821fa3
+2 -1
View File
@@ -69,7 +69,8 @@ def has_textonly_pdf():
"""
args_tess = [
'tesseract',
'--print-parameters'
'--print-parameters',
'pdf'
]
params = ''
try: