remove obsolete flag

This commit is contained in:
Patrick Jentsch 2020-07-02 11:50:14 +02:00
parent 6c9e9dfb57
commit 5addc9c28a

View File

@ -73,8 +73,6 @@ def __create_job_service(job):
cmd = '{} -i /files -o /files/output'.format(job.service)
if job.service == 'file-setup':
cmd += ' -f {}'.format(job.secure_filename)
elif job.service == 'ocr':
cmd += ' --compress'
cmd += ' --log-dir /files'
cmd += ' --zip [{}]_{}'.format(job.service, job.secure_filename)
cmd += ' ' + ' '.join(json.loads(job.service_args))