Skip to content

Commit e438be9

Browse files
josenavasantgonza
authored andcommitted
Fixing bug (#2300)
1 parent 1e40145 commit e438be9

File tree

1 file changed

+1
-1
lines changed
  • qiita_db/support_files/patches/python_patches

1 file changed

+1
-1
lines changed

qiita_db/support_files/patches/python_patches/58.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def correct_redis_data(key, cmd, values_dict, user):
7373
# message. We need to create a new job and mark it as
7474
# failed with the given error message
7575
params = Parameters.load(cmd, values_dict=values_dict)
76-
job = ProcessingJob(user, params)
76+
job = ProcessingJob.create(user, params)
7777
job._set_error(info['message'])
7878
payload = {'job_id': job.id}
7979
r_client.set(key, dumps(payload))

0 commit comments

Comments
 (0)