Skip to content

Commit 0d0b77e

Browse files
pre-commit-ci[bot]amilcarlucas
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 455e267 commit 0d0b77e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ardupilot_methodic_configurator/frontend_tkinter_rich_text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class RichText(tk.Text): # pylint: disable=too-many-ancestors
4747
def __init__(self, *args, **kwargs) -> None:
4848
super().__init__(*args, **kwargs)
4949

50-
default_font = kwargs.get("font", None) or safe_font_nametofont()
50+
default_font = kwargs.get("font") or safe_font_nametofont()
5151
if default_font:
5252
# Use the actual font configuration if available
5353
bold_font = tkFont.Font(**default_font.configure()) # type: ignore[arg-type]

0 commit comments

Comments
 (0)