Update api_redadeg.py

This commit is contained in:
MaelREBOUX 2021-04-06 21:32:05 +02:00
parent 1987ec05bc
commit 9ae2afa39f

View file

@ -25,6 +25,13 @@ def test():
return stdout return stdout
@app.route("/phase1/")
def test():
stdout = check_output(['../scripts/traitements_phase_1.sh']).decode('utf-8')
return stdout
@app.route("/about/") @app.route("/about/")
def about(): def about():
return "This is a simple Flask Python application" return "This is a simple Flask Python application"