remove unnecessary tabs

pull/221/head
Aevann 2023-12-25 02:14:29 +02:00
parent d7d135ad8e
commit 9b155efa94
1 changed files with 2 additions and 11 deletions

View File

@ -491,11 +491,7 @@ def get_css(username):
if bg:
if not css: css = ''
css += f'''
body {{
background: url("{bg}") center center fixed;
}}
'''
css += f'body {{background: url("{bg}") center center fixed;}}'
if 'anime/' not in bg and not bg.startswith('/images/'):
css += 'body {background-size: cover}'
@ -515,12 +511,7 @@ def get_profilecss(username):
if bg:
if not css: css = ''
css += f'''
body {{
background: url("{bg}") center center fixed;
background-size: auto;
}}
'''
css += f'body {{background: url("{bg}") center center fixed;background-size: auto;}}'
if not css: abort(404)
resp = make_response(css)