diff --git a/files/routes/settings.py b/files/routes/settings.py index 49a479b2c9..e14b96a5bb 100644 --- a/files/routes/settings.py +++ b/files/routes/settings.py @@ -367,7 +367,7 @@ def settings_profile_post(v): if theme: if theme in ["classic","transparent", "win98", "dark", "light", "coffee", "tron", "4chan", "midnight"]: if theme == "transparent" and not v.background: - return render_template(f"{template}settings_profile.html", v=v, error="You need to set a background to use the transparent theme!") + return {"error": "You need to set a background to use the transparent theme!"} v.theme = theme if theme == "win98": v.themecolor = "30409f" updated = True