From 2c043d20e70f55964e4dbcc26a7eeb7c88e7604b Mon Sep 17 00:00:00 2001 From: justcool393 Date: Mon, 7 Nov 2022 21:40:11 -0600 Subject: [PATCH] css fix --- files/routes/settings.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/files/routes/settings.py b/files/routes/settings.py index 049e0baa6..c85f4457e 100644 --- a/files/routes/settings.py +++ b/files/routes/settings.py @@ -540,10 +540,9 @@ def settings_css_get(v): @auth_required def settings_css(v): if v.agendaposter: abort(400, "Agendapostered users can't edit CSS!") - css = request.values.get("css").strip().replace('\\', '').strip()[:4000] + css = request.values.get("css", v.css).strip().replace('\\', '').strip()[:4000] if '