From f391da202549b4b698c5ab30ba055379b71f246b Mon Sep 17 00:00:00 2001 From: Lorenzo Venerandi Date: Sat, 7 Mar 2026 17:14:07 +0100 Subject: [PATCH] code linted --- src/app.py | 4 +++- src/routes/htmx.py | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/app.py b/src/app.py index 87904b8..7d313bb 100644 --- a/src/app.py +++ b/src/app.py @@ -74,7 +74,9 @@ async def lifespan(app: FastAPI): password_line = "" if config.dashboard_password_generated: - password_line = f"\n\nDASHBOARD PASSWORD (auto-generated)\n{config.dashboard_password}" + password_line = ( + f"\n\nDASHBOARD PASSWORD (auto-generated)\n{config.dashboard_password}" + ) banner = f""" diff --git a/src/routes/htmx.py b/src/routes/htmx.py index a793c87..366c4a0 100644 --- a/src/routes/htmx.py +++ b/src/routes/htmx.py @@ -421,9 +421,9 @@ async def htmx_admin(request: Request): return HTMLResponse( '
' '

Nice try bozo

' - '
' + "
" 'Diddy' - '
', + "", status_code=200, ) templates = get_templates()