From e3aa1210247d46e06cdc8fb44249559b59391de9 Mon Sep 17 00:00:00 2001 From: Clemens Klug Date: Mon, 4 Dec 2017 15:06:06 +0000 Subject: [PATCH] re-add route-converter (http://flask.pocoo.org/docs/0.12/api/#url-route-registrations) --- presentation/presentation.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/presentation/presentation.tex b/presentation/presentation.tex index 181ba4c..10abd83 100644 --- a/presentation/presentation.tex +++ b/presentation/presentation.tex @@ -271,7 +271,7 @@ app.debug = True @app.route("/") def hello(): return "Hello ESP8266!" -@app.route("/id/", methods=['GET','POST']) +@app.route("/id/", methods=['GET','POST']) def log(id): app.logger.info("%s was here and delivered '%s'", id, request.data.decode("utf8")) return "You were here!"