summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-07-09 10:07:44 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-07-09 10:07:44 +0000
commitbb2ee4f97cb62bdeded86675d3a3fa770c3dc391 (patch)
tree35efeba8070f8289ad477608c9239471de6826b0
parent6d4c11f6c99d7f311ea51840c680acbb67ae71d0 (diff)
Tue, Jul 9, 2024, 3:07 AM -07:00
-rw-r--r--wk9/lect/froshims/app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wk9/lect/froshims/app.py b/wk9/lect/froshims/app.py
index caf1e5f..bdefb7c 100644
--- a/wk9/lect/froshims/app.py
+++ b/wk9/lect/froshims/app.py
@@ -13,7 +13,7 @@ def index():
def register():
if not request.form.get("name") or request.form.get("sport") not in SPORTS:
return render_template("failure.html")
- for sport in request.form.getall("sport"):
+ for sport in request.form.getlist("sport"):
if sport not in SPORTS:
return render_template("failure.html")
return render_template("success.html")