From 4ce6981822b98b041ba6910c0ca9c186c49539e9 Mon Sep 17 00:00:00 2001 From: Jose Navas Date: Tue, 19 Sep 2017 11:07:47 -0700 Subject: [PATCH] Fixing bug --- qiita_db/support_files/patches/python_patches/58.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qiita_db/support_files/patches/python_patches/58.py b/qiita_db/support_files/patches/python_patches/58.py index 2aac90b6f..6debc1009 100644 --- a/qiita_db/support_files/patches/python_patches/58.py +++ b/qiita_db/support_files/patches/python_patches/58.py @@ -73,7 +73,7 @@ def correct_redis_data(key, cmd, values_dict, user): # message. We need to create a new job and mark it as # failed with the given error message params = Parameters.load(cmd, values_dict=values_dict) - job = ProcessingJob(user, params) + job = ProcessingJob.create(user, params) job._set_error(info['message']) payload = {'job_id': job.id} r_client.set(key, dumps(payload))