master
Aevann1 2022-07-01 23:24:58 +02:00
parent d59f346f0b
commit 3801189188
1 changed files with 2 additions and 1 deletions

View File

@ -599,7 +599,8 @@ def settings_css(v):
css = request.values.get("css").strip().replace('\\', '').strip()[:4000] css = request.values.get("css").strip().replace('\\', '').strip()[:4000]
if '</style>' in css.lower(): return {"error": "Please message @Aevann if you get this error"} if '</style' in css.lower():
return {"error": "Please message @Aevann if you get this error"}
v.css = css v.css = css
g.db.add(v) g.db.add(v)