diff options
Diffstat (limited to 'qc_app')
-rw-r--r-- | qc_app/jobs.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qc_app/jobs.py b/qc_app/jobs.py index 275f9c8..8c93e9f 100644 --- a/qc_app/jobs.py +++ b/qc_app/jobs.py @@ -17,7 +17,9 @@ def launch_job(# pylint: disable=[too-many-arguments] """Launch a job in the background""" job_id = str(uuid4()) command = [ - "python3", "-m", "scripts.worker", filetype, filepath, redisurl, job_id] + "python3", "-m", "scripts.validate_file", filetype, filepath, redisurl, + job_id + ] the_job = { "job_id": job_id, "command": shlex.join(command), "status": "pending", "filename": os.path.basename(filepath), "percent": 0, |