From 498db92dd98eadf84a9427e521fa3af05f0cdd7a Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 1 Jan 2023 15:03:55 +0200 Subject: [PATCH] fix custom css --- files/routes/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/users.py b/files/routes/users.py index 6d813db57..271397049 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -390,7 +390,7 @@ def get_css(id): try: id = int(id) except: abort(404) - css, bg = g.db.query(User.profilecss, User.background).filter_by(id=id).one_or_none() + css, bg = g.db.query(User.css, User.background).filter_by(id=id).one_or_none() if bg: if not css: css = ''