Fix input file

This commit is contained in:
Patrick Jentsch 2019-04-11 11:55:42 +02:00
parent a947e36997
commit 3131174676

2
ocr
View File

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