Add compress flag for ocr jobs

This commit is contained in:
Patrick Jentsch 2020-06-16 09:34:46 +02:00
parent 1817532d27
commit af50da4936

View File

@ -74,6 +74,9 @@ def __create_job_service(job):
+ ' {}'.format(job.secure_filename
if job.service == 'file-setup'
else '')
+ ' {}'.format('--compress'
if job.service == 'ocr'
else '')
+ ' --log-dir /files'
+ ' --zip [{}]_{}'.format(job.service,
job.secure_filename)