From 7f6c49e677712f1c230cf733d0215a284c6e6ae8 Mon Sep 17 00:00:00 2001 From: Daniel Girtler Date: Sun, 8 May 2022 16:39:04 +1000 Subject: Fix alignment (#1139) * Fix alignment * Update Co-authored-by: Daniel Girtler --- archinstall/lib/menu/selection_menu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archinstall/lib/menu') diff --git a/archinstall/lib/menu/selection_menu.py b/archinstall/lib/menu/selection_menu.py index 8311344d..e18d92c2 100644 --- a/archinstall/lib/menu/selection_menu.py +++ b/archinstall/lib/menu/selection_menu.py @@ -267,7 +267,7 @@ class GeneralMenu: return None def _get_menu_text_padding(self, entries: List[Selector]): - return max([len(selection.description) for selection in entries]) + return max([len(str(selection.description)) for selection in entries]) def _find_selection(self, selection_name: str) -> Tuple[str, Selector]: padding = self._get_menu_text_padding(list(self._menu_options.values())) -- cgit v1.2.3-70-g09d2