Fix running without eng.traineddata installed raises exception

This commit is contained in:
James R. Barlow
2019-08-27 14:54:03 -07:00
parent 638eb556ef
commit 11ef78a891
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ def check_options_output(options):
options.pdf_renderer = 'sandwich'
if options.pdf_renderer == 'sandwich' and not tesseract.has_textonly_pdf(
options.tesseract_env
options.tesseract_env, languages
):
raise MissingDependencyError(
"You are using an alpha version of Tesseract 4.0 that does not support "