Order of events

This commit is contained in:
James R. Barlow
2020-01-30 12:40:19 -08:00
parent 4952af1604
commit 82f393dd09
+1 -1
View File
@@ -69,8 +69,8 @@ def execute_ocrmypdf(file_path):
log.info("-" * 20)
log.info(f'New file: {file_path}. Waiting until fully loaded...')
log.info(f'Attempting to OCRmyPDF to: {output_path}')
wait_for_file_ready(file_path)
log.info(f'Attempting to OCRmyPDF to: {output_path}')
exit_code = ocrmypdf.ocr(
input_file=file_path, output_file=output_path, deskew=DESKEW
)