summaryrefslogtreecommitdiff
path: root/wk9/lect/hello/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'wk9/lect/hello/app.py')
-rw-r--r--wk9/lect/hello/app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wk9/lect/hello/app.py b/wk9/lect/hello/app.py
index 1c44a69..7d310ad 100644
--- a/wk9/lect/hello/app.py
+++ b/wk9/lect/hello/app.py
@@ -5,6 +5,6 @@ app = Flask(__name__)
@app.route("/", methods=["GET", "POST"])
def index():
if request.method == "POST":
- name = request.form.get("name", "world")
+ name = request.form.get("name")
return render_template("greet.html", name=name)
return render_template("index.html")