mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
Set 'submitted' as initial job status value.
This commit is contained in:
parent
ed2d1abd8c
commit
0ac3ed3a29
@ -26,7 +26,7 @@ def ocr():
|
||||
"--skip-binarisation"],
|
||||
"lang": new_ocr_job_form.language.data,
|
||||
"version": new_ocr_job_form.version.data}),
|
||||
status="queued",
|
||||
status="submitted",
|
||||
title=new_ocr_job_form.title.data)
|
||||
db.session.add(ocr_job)
|
||||
db.session.commit()
|
||||
@ -75,7 +75,7 @@ def nlp():
|
||||
service_args=json.dumps({"args": [],
|
||||
"lang": new_nlp_job_form.language.data,
|
||||
"version": new_nlp_job_form.version.data}),
|
||||
status="queued",
|
||||
status="submitted",
|
||||
title=new_nlp_job_form.title.data)
|
||||
db.session.add(nlp_job)
|
||||
db.session.commit()
|
||||
|
Loading…
Reference in New Issue
Block a user