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) )