mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 02:44:18 +00:00
remove obsolete flag
This commit is contained in:
parent
6c9e9dfb57
commit
5addc9c28a
@ -73,8 +73,6 @@ def __create_job_service(job):
|
|||||||
cmd = '{} -i /files -o /files/output'.format(job.service)
|
cmd = '{} -i /files -o /files/output'.format(job.service)
|
||||||
if job.service == 'file-setup':
|
if job.service == 'file-setup':
|
||||||
cmd += ' -f {}'.format(job.secure_filename)
|
cmd += ' -f {}'.format(job.secure_filename)
|
||||||
elif job.service == 'ocr':
|
|
||||||
cmd += ' --compress'
|
|
||||||
cmd += ' --log-dir /files'
|
cmd += ' --log-dir /files'
|
||||||
cmd += ' --zip [{}]_{}'.format(job.service, job.secure_filename)
|
cmd += ' --zip [{}]_{}'.format(job.service, job.secure_filename)
|
||||||
cmd += ' ' + ' '.join(json.loads(job.service_args))
|
cmd += ' ' + ' '.join(json.loads(job.service_args))
|
||||||
|
Loading…
Reference in New Issue
Block a user