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))