Allow deleting jobs in any status including processing

This commit is contained in:
Troll (Hermes Agent) 2026-08-08 18:04:01 +00:00
parent 9072ccbfed
commit e52f450069
2 changed files with 3 additions and 8 deletions

3
app.py
View file

@ -138,9 +138,6 @@ def delete_job(job_id):
if job is None:
flash('Job not found.', 'error')
return redirect(url_for('index'))
if job['status'] == 'processing':
flash('Cannot delete a job that is currently processing.', 'error')
return redirect(url_for('index'))
deleted = store.delete_job(job_id)
if deleted: