Skip to content

Commit c0e0ee6

Browse files
committed
* typo
1 parent 3296345 commit c0e0ee6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class SafeStr(str):
2020

2121
def Dialog(*, post_url: str, title: str, body: SafeStr, cancel_text: str | None = None, ok_text: str | None = None):
2222
cancel_text = cancel_text or _("Cancel")
23-
ok_text = cancel_text or _("Ok")
23+
ok_text = ok_text or _("Ok")
2424

2525
return html(
2626
f"""

0 commit comments

Comments
 (0)