Skip to content

Commit

Permalink
old-python compat, take 2
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBuchanan314 committed Jan 17, 2025
1 parent c82f705 commit 991b156
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/millipds/html_templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def authz_page(handle: str, client_id: str, scopes: List[str]) -> str:
<h3>application <code>{escape(client_id)}</code> wants permission to:</h3>
<ul>
{chr(0x0a).join(
f"<li>{SCOPE_DESCRIPTIONS.get(scope, "[unknown]")} (<code>{escape(scope)}</code>)</li>"
f"<li>{SCOPE_DESCRIPTIONS.get(scope, '[unknown]')} (<code>{escape(scope)}</code>)</li>"
for scope in scopes
)}
</ul>
Expand Down

0 comments on commit 991b156

Please sign in to comment.