mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/ocr.git
synced 2024-12-27 10:04:18 +00:00
Fixed syntax error
This commit is contained in:
parent
ea091152bd
commit
6708375c37
@ -227,8 +227,8 @@ def analyze_jobs(inputDir, outputDir, level=1):
|
|||||||
os.path.join(outputDir, file),
|
os.path.join(outputDir, file),
|
||||||
level + 1
|
level + 1
|
||||||
)
|
)
|
||||||
elif file.endswith(".pdf") or file.endswith(".tif") or file.endswith(".tiff"):
|
elif file.endswith(".pdf") or file.endswith(".tif") or file.endswith(".tiff"):
|
||||||
jobs.append({"basename": os.path.basename(file), "output_dir": os.path.join(outputDir, file.rsplit(".", 1)[0]), "path": os.path.join(inputDir, file)})
|
jobs.append({"basename": os.path.basename(file), "output_dir": os.path.join(outputDir, file.rsplit(".", 1)[0]), "path": os.path.join(inputDir, file)})
|
||||||
|
|
||||||
return jobs
|
return jobs
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user