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 '