mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 10:54:18 +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
|
+ ' {}'.format(job.secure_filename
|
||||||
if job.service == 'file-setup'
|
if job.service == 'file-setup'
|
||||||
else '')
|
else '')
|
||||||
|
+ ' {}'.format('--compress'
|
||||||
|
if job.service == 'ocr'
|
||||||
|
else '')
|
||||||
+ ' --log-dir /files'
|
+ ' --log-dir /files'
|
||||||
+ ' --zip [{}]_{}'.format(job.service,
|
+ ' --zip [{}]_{}'.format(job.service,
|
||||||
job.secure_filename)
|
job.secure_filename)
|
||||||
|
Loading…
Reference in New Issue
Block a user