From bb2ee4f97cb62bdeded86675d3a3fa770c3dc391 Mon Sep 17 00:00:00 2001
From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com>
Date: Tue, 9 Jul 2024 10:07:44 +0000
Subject: Tue, Jul 9, 2024, 3:07 AM -07:00

---
 wk9/lect/froshims/app.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'wk9/lect/froshims')

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")
-- 
cgit v1.2.3