Update speedyf/main.py

This commit is contained in:
Fred Boniface 2024-04-30 22:03:08 +01:00
parent 98c8d37724
commit a9272ea36c

View File

@ -8,7 +8,7 @@ def generate_uuid():
@app.route('/')
def index():
render(index.html)
render_template(index.html)
@app.route('/new_job', methods=['POST'])
def new_job():
@ -16,6 +16,7 @@ def new_job():
job_id = generate_uuid()
ctx = {job_id: job_id, job_manager: job_manager}
handle_file(file_path, ctx)
render_template()
@app.route('/job_status')
def job_status():