some settings functionality

master
Kostanjevec 2022-06-23 16:01:16 +02:00
parent bb2b1c44d0
commit 21e37d197d
1 changed files with 2 additions and 2 deletions

View File

@ -66,8 +66,8 @@ def index():
elif action == "upload": elif action == "upload":
return redirect(url_for("upload.index")) return redirect(url_for("upload.index"))
elif action == "settings": elif action == "settings":
#settings = get_settings(user_id) settings = get_settings(user_id)
return render_template("settings.html", username=username, user_id=user_id) return render_template("settings.html", username=username, user_id=user_id, settings=settings)
elif action == "instructions": elif action == "instructions":
return render_template("instructions.html", username=username, user_id=user_id) return render_template("instructions.html", username=username, user_id=user_id)
elif action == "about": elif action == "about":