Update speedyf/main.py
This commit is contained in:
parent
98c8d37724
commit
a9272ea36c
@ -8,7 +8,7 @@ def generate_uuid():
|
|||||||
|
|
||||||
@app.route('/')
|
@app.route('/')
|
||||||
def index():
|
def index():
|
||||||
render(index.html)
|
render_template(index.html)
|
||||||
|
|
||||||
@app.route('/new_job', methods=['POST'])
|
@app.route('/new_job', methods=['POST'])
|
||||||
def new_job():
|
def new_job():
|
||||||
@ -16,6 +16,7 @@ def new_job():
|
|||||||
job_id = generate_uuid()
|
job_id = generate_uuid()
|
||||||
ctx = {job_id: job_id, job_manager: job_manager}
|
ctx = {job_id: job_id, job_manager: job_manager}
|
||||||
handle_file(file_path, ctx)
|
handle_file(file_path, ctx)
|
||||||
|
render_template()
|
||||||
|
|
||||||
@app.route('/job_status')
|
@app.route('/job_status')
|
||||||
def job_status():
|
def job_status():
|
||||||
|
Loading…
Reference in New Issue
Block a user