From 5addc9c28ac77b1c2dc80cc54b1d70d801ec65f2 Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Thu, 2 Jul 2020 11:50:14 +0200 Subject: [PATCH] remove obsolete flag --- daemon/tasks/check_jobs.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/daemon/tasks/check_jobs.py b/daemon/tasks/check_jobs.py index a70c4a47..3d96988c 100644 --- a/daemon/tasks/check_jobs.py +++ b/daemon/tasks/check_jobs.py @@ -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))