From 40325099652d128b922c4753da06093cced14ead Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 19 Jan 2022 11:25:37 +0200 Subject: [PATCH] fds --- files/routes/settings.py | 2 +- files/templates/settings_profile.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/routes/settings.py b/files/routes/settings.py index 12809bb13..e0e34cec1 100644 --- a/files/routes/settings.py +++ b/files/routes/settings.py @@ -330,7 +330,7 @@ def settings_profile_post(v): theme = request.values.get("theme") if theme: - if theme in ["drambler","classic","transparent", "win98", "dark", "light", "coffee", "tron", "4chan", "midnight"]: + if theme in ["dramablr","classic","transparent", "win98", "dark", "light", "coffee", "tron", "4chan", "midnight"]: if theme == "transparent" and not v.background: return {"error": "You need to set a background to use the transparent theme!"} v.theme = theme diff --git a/files/templates/settings_profile.html b/files/templates/settings_profile.html index 0125f84b5..0aa91d594 100644 --- a/files/templates/settings_profile.html +++ b/files/templates/settings_profile.html @@ -92,7 +92,7 @@

Change the theme for the website.