Fixed syntax error

This commit is contained in:
Patrick Jentsch 2019-01-15 11:00:18 +01:00
parent ea091152bd
commit 6708375c37

View File

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