From ad30833ffca8bb6f0a151f8b8bc5075f13acb4d9 Mon Sep 17 00:00:00 2001 From: Jim Barlow Date: Sat, 11 Oct 2014 17:48:33 -0700 Subject: [PATCH] Support missing tess_cfg_files parameter when omitted by OCRmyPDF.sh --- src/ocrpage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ocrpage.py b/src/ocrpage.py index 38786f7a..5bedcf71 100755 --- a/src/ocrpage.py +++ b/src/ocrpage.py @@ -69,7 +69,7 @@ parser.add_argument( 'skip_text', type=int, help="Skip OCR on pages that contain fonts and include the page anyway") parser.add_argument( - 'tess_cfg_files', + 'tess_cfg_files', default='', nargs='*', help="Tesseract configuration")