index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Daniel Girtler <blackrabbit256@gmail.com> | 2022-05-08 16:39:04 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-08 08:39:04 +0200 |
commit | 7f6c49e677712f1c230cf733d0215a284c6e6ae8 (patch) | |
tree | 16b7cb5c5a0bff1db690390dc7471f86f266bc1c /archinstall/lib | |
parent | c354c2bbfe667834995d8553cbff6418a5236f1e (diff) |
-rw-r--r-- | archinstall/lib/menu/selection_menu.py | 2 |
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())) |