Change "Temporary working files" output message

This commit is contained in:
James R. Barlow
2019-06-12 13:56:02 -07:00
parent 066a293462
commit aba293fd80
2 changed files with 2 additions and 2 deletions

View File

@@ -226,7 +226,7 @@ If the ``-k`` argument is issued on the command line, OCRmyPDF will keep the tem
.. code-block:: none
Temporary working files saved at:
Temporary working files retained at:
/tmp/com.github.ocrmypdf.u20wpz07
The organization of this folder is an implementation detail and subject to change between releases. However the general organization is that working files on a per page basis have the page number as a prefix (starting with page 1), an infix indicates the processing stage, and a suffix indicates the file type. Some important files include:

View File

@@ -93,7 +93,7 @@ class PageContext(PicklableLoggerMixin):
def cleanup_working_files(work_folder, options):
if options.keep_temporary_files:
print(f"Temporary working files saved at:\n{work_folder}", file=sys.stderr)
print(f"Temporary working files retained at:\n{work_folder}", file=sys.stderr)
else:
shutil.rmtree(work_folder, ignore_errors=True)