Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/menu/selection_menu.py
diff options
context:
space:
mode:
authorDaniel Girtler <blackrabbit256@gmail.com>2022-05-08 16:39:04 +1000
committerGitHub <noreply@github.com>2022-05-08 08:39:04 +0200
commit7f6c49e677712f1c230cf733d0215a284c6e6ae8 (patch)
tree16b7cb5c5a0bff1db690390dc7471f86f266bc1c /archinstall/lib/menu/selection_menu.py
parentc354c2bbfe667834995d8553cbff6418a5236f1e (diff)
Fix alignment (#1139)
* Fix alignment * Update Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
Diffstat (limited to 'archinstall/lib/menu/selection_menu.py')
-rw-r--r--archinstall/lib/menu/selection_menu.py2
1 files changed, 1 insertions, 1 deletions
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()))