From 2da6f50e8ba0726e7ae29e8a032f642e6e4e67ea Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 19 Jan 2022 11:27:18 +0200 Subject: [PATCH] sfd --- 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 e0e34cec1..8fabc528c 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 ["dramablr","classic","transparent", "win98", "dark", "light", "coffee", "tron", "4chan", "midnight"]: + if theme in ["dramblr","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 0aa91d594..ed1e3de40 100644 --- a/files/templates/settings_profile.html +++ b/files/templates/settings_profile.html @@ -92,7 +92,7 @@

Change the theme for the website.