forked from MarseyWorld/MarseyWorld
fix custom css
parent
75bf0fca91
commit
498db92dd9
|
@ -390,7 +390,7 @@ def get_css(id):
|
||||||
try: id = int(id)
|
try: id = int(id)
|
||||||
except: abort(404)
|
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 bg:
|
||||||
if not css: css = ''
|
if not css: css = ''
|
||||||
|
|
Loading…
Reference in New Issue