Remove old note.

This commit is contained in:
Patrick Jentsch 2019-08-29 12:01:09 +02:00
parent 876eb465b8
commit 1955d3c015

View File

@ -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!')