mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-01-23 00:00:35 +00:00
Remove old note.
This commit is contained in:
parent
876eb465b8
commit
1955d3c015
@ -40,12 +40,6 @@ def nlp():
|
|||||||
else:
|
else:
|
||||||
for file in new_nlp_job_form.files.data:
|
for file in new_nlp_job_form.files.data:
|
||||||
file.save(os.path.join(dir, file.filename))
|
file.save(os.path.join(dir, file.filename))
|
||||||
'''
|
|
||||||
' TODO: Let the scheduler run this job in the background.
|
|
||||||
'
|
|
||||||
' NOTE: Using self created threads is just for testing purpose as
|
|
||||||
' there is no scheduler available.
|
|
||||||
'''
|
|
||||||
nlp_job.status = 'submitted'
|
nlp_job.status = 'submitted'
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
flash('Job created!')
|
flash('Job created!')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user