summaryrefslogtreecommitdiff
path: root/wk9/lect/hello/app.py
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-07-09 09:20:41 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-07-09 09:20:41 +0000
commit308b08232f0282433905c7abe24e14080f41071b (patch)
treec5cd4c76246c1ed3d46deeff1e1828cfc7726ee1 /wk9/lect/hello/app.py
parent90ac834374afc01f7bd12fee9af7bc6b6156e65c (diff)
Tue, Jul 9, 2024, 2:20 AM -07:00
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")