mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-24 10:34:17 +00:00
Add compress flag for ocr jobs
This commit is contained in:
parent
1817532d27
commit
af50da4936
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user