mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2026-10-06 16:31:10 +00:00
Add compress flag for ocr jobs
This commit is contained in:
1 parent
1817532d27
commit
af50da4936
1 file changed
+3
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user