mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/ocr.git
synced 2024-12-26 05:34:17 +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),
|
||||
level + 1
|
||||
)
|
||||
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)})
|
||||
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)})
|
||||
|
||||
return jobs
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user