fds
This commit is contained in:
parent
048b79bd3a
commit
cc6ed865b8
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue