diff options
author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-07-09 10:08:51 +0000 |
---|---|---|
committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-07-09 10:08:51 +0000 |
commit | 3549bf254ad34bb013f3ad20fa47c59b19a29907 (patch) | |
tree | 284c09f07c9022a93597ff1f102628abc84dfeb2 | |
parent | bb2ee4f97cb62bdeded86675d3a3fa770c3dc391 (diff) |
Tue, Jul 9, 2024, 3:08 AM -07:00
-rw-r--r-- | wk9/lect/froshims/app.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wk9/lect/froshims/app.py b/wk9/lect/froshims/app.py index bdefb7c..4707a70 100644 --- a/wk9/lect/froshims/app.py +++ b/wk9/lect/froshims/app.py @@ -11,7 +11,7 @@ def index(): @app.route("/register", methods=["POST"]) def register(): - if not request.form.get("name") or request.form.get("sport") not in SPORTS: + if not request.form.get("name"): return render_template("failure.html") for sport in request.form.getlist("sport"): if sport not in SPORTS: |