From 01549814a918d71d505247e48a5dfe3341df60bb Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 31 Dec 2021 18:40:46 +0200 Subject: [PATCH] fsd --- files/routes/admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/routes/admin.py b/files/routes/admin.py index bc99a9e78..9d750867c 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -348,7 +348,7 @@ def admin_home(v): with open('disablesignups', 'r') as f: x = f.read() - if not v or v.oldsite: render_template(f"admin/admin_home.html", v=v, x=x) + if not v or v.oldsite: return render_template(f"admin/admin_home.html", v=v, x=x) page=int(request.args.get("page",1)) @@ -357,7 +357,7 @@ def admin_home(v): next_exists=len(actions)==26 actions=actions[:25] - + return render_template(f"CHRISTMAS/admin/admin_home.html", actions=actions, v=v, x=x) @app.post("/admin/disablesignups")