diff options
| author | Karan Jayachandra <mail@karanjayachandra.com> | 2024-12-02 20:47:11 +0100 |
|---|---|---|
| committer | Karan Jayachandra <mail@karanjayachandra.com> | 2024-12-02 20:47:11 +0100 |
| commit | 662e0854a6c61503954aa659e1c932db69443a06 (patch) | |
| tree | 8d9cf47a6bbac47fe9eeffbc0d92a1eef4323572 /src/match_up/routes.py | |
| parent | ed182035cdd39659563b25ffef5387578db25799 (diff) | |
Fixed bug with team based games
Diffstat (limited to 'src/match_up/routes.py')
| -rw-r--r-- | src/match_up/routes.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/match_up/routes.py b/src/match_up/routes.py index f9cd2fa..e5a3b99 100644 --- a/src/match_up/routes.py +++ b/src/match_up/routes.py @@ -19,7 +19,9 @@ def get_controls(): def get_random_games(): levels = int(request.form["levels"].split()[0]) team_practice = request.form["team"] == "Teams" - return render_template("games.j2", games=_rg.propose(levels, team_practice), title="Proposal") + return render_template( + "games.j2", games=_rg.propose(levels, team_practice), title="Proposal" + ) @_app.route("/confirm", methods=["POST"]) |
