From 3c58fee65ebfeca3b48e3f80eff5f99d10d29e17 Mon Sep 17 00:00:00 2001 From: HADEON <52324046+h8d13@users.noreply.github.com> Date: Sun, 19 Apr 2026 13:20:37 +0200 Subject: [PATCH] ruff2 --- archinstall/lib/locale/locale_menu.py | 2 +- archinstall/lib/locale/utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/archinstall/lib/locale/locale_menu.py b/archinstall/lib/locale/locale_menu.py index 73cd534a..998d52a6 100644 --- a/archinstall/lib/locale/locale_menu.py +++ b/archinstall/lib/locale/locale_menu.py @@ -156,7 +156,7 @@ async def select_console_font(preset: str | None = None) -> str | None: group = MenuItemGroup(items, sort_items=False) group.set_focus_by_value(preset) - result = await Selecton[str]( + result = await Selection[str]( group, header=tr('Console font'), group=group, diff --git a/archinstall/lib/locale/utils.py b/archinstall/lib/locale/utils.py index 27393cef..361176a0 100644 --- a/archinstall/lib/locale/utils.py +++ b/archinstall/lib/locale/utils.py @@ -120,4 +120,4 @@ def list_console_fonts() -> list[str]: name = f.name.removesuffix('.gz').removesuffix('.psfu').removesuffix('.psf') fonts.append(name) - return sorted(fonts, key=lambda x: (len(x), x)) \ No newline at end of file + return sorted(fonts, key=lambda x: (len(x), x))