Commit fe825d78 authored by Mikaël Salson's avatar Mikaël Salson Committed by Vidjil Team

models/task.py: Provide `processId` in the request

It is useful for the checkProcess function in database.js
Related to #1469
parent dc37ee6b
......@@ -156,6 +156,7 @@ def schedule_run(id_sequence, id_config, grep_reads=None):
filename= db.sequence_file[id_sequence].filename
res = {"redirect": "reload",
"processId": task.id,
"message": "[%s] c%s: process requested - %s %s" % (data_id, id_config, grep_reads, filename)}
log.info(res)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment