chore: adhere to ruff's C (#2379)

This commit is contained in:
dni ⚡
2024-04-03 17:56:05 +02:00
committed by GitHub
parent cd66b7d70c
commit e0b7d2f739
10 changed files with 43 additions and 41 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ class InstalledExtensionMiddleware:
"",
)
if "text/html" in [a for a in accept_header.split(",")]:
if "text/html" in accept_header.split(","):
return HTMLResponse(
status_code=status_code,
content=template_renderer()