From 21e37d197d33521e8713b7c595ef1f4ff6dfacc1 Mon Sep 17 00:00:00 2001 From: Kostanjevec Date: Thu, 23 Jun 2022 16:01:16 +0200 Subject: [PATCH] some settings functionality --- menu.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/menu.py b/menu.py index 6890448..724fc45 100644 --- a/menu.py +++ b/menu.py @@ -66,8 +66,8 @@ def index(): elif action == "upload": return redirect(url_for("upload.index")) elif action == "settings": - #settings = get_settings(user_id) - return render_template("settings.html", username=username, user_id=user_id) + settings = get_settings(user_id) + return render_template("settings.html", username=username, user_id=user_id, settings=settings) elif action == "instructions": return render_template("instructions.html", username=username, user_id=user_id) elif action == "about":