We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3296345 commit c0e0ee6Copy full SHA for c0e0ee6
sample.py
@@ -20,7 +20,7 @@ class SafeStr(str):
20
21
def Dialog(*, post_url: str, title: str, body: SafeStr, cancel_text: str | None = None, ok_text: str | None = None):
22
cancel_text = cancel_text or _("Cancel")
23
- ok_text = cancel_text or _("Ok")
+ ok_text = ok_text or _("Ok")
24
25
return html(
26
f"""
0 commit comments