From 3131174676ac15d7f6decc54f31e5598241deebf Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Thu, 11 Apr 2019 11:55:42 +0200 Subject: [PATCH] Fix input file --- ocr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocr b/ocr index c80a3ac..79b15bb 100755 --- a/ocr +++ b/ocr @@ -123,7 +123,7 @@ class OCRWorkflow(WorkflowRunner): # This list is empty if you don't wait for ocropus_nlbin_jobs to complete for file in os.listdir(os.path.join(job["output_dir"], "tmp", "tiff_files")): ocropusnlbin_job_number += 1 - cmd = 'ocropus-nlbin -o "%s" "%s"/*' % ( + cmd = 'ocropus-nlbin -o "%s" "%s"' % ( os.path.join(job["output_dir"], "tmp", "ocropus-nlbin"), os.path.join(job["output_dir"], "tmp", "tiff_files", file) )