Skip to content
Snippets Groups Projects
Commit af50da49 authored by Patrick Jentsch's avatar Patrick Jentsch
Browse files

Add compress flag for ocr jobs

parent 1817532d
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment