From 4f899e3866d81d0e7fec5d496578a0fe81617e72 Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 12 Apr 2022 19:46:55 +1000 Subject: Downstream new simple menu feature (#1055) * Downstream new simple menu feature * Fix flake8 * Update * Fix flake8 Co-authored-by: Daniel Girtler --- archinstall/lib/menu/list_manager.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'archinstall/lib/menu/list_manager.py') diff --git a/archinstall/lib/menu/list_manager.py b/archinstall/lib/menu/list_manager.py index 4ca33db2..5b4f720c 100644 --- a/archinstall/lib/menu/list_manager.py +++ b/archinstall/lib/menu/list_manager.py @@ -129,7 +129,7 @@ class ListManager: self.header = header if header else None self.cancel_action = str(_('Cancel')) self.confirm_action = str(_('Confirm and exit')) - self.separator = '==>' + self.separator = '' self.bottom_list = [self.confirm_action,self.cancel_action] self.bottom_item = [self.cancel_action] self.base_actions = base_actions if base_actions else [str(_('Add')),str(_('Copy')),str(_('Edit')),str(_('Delete'))] @@ -155,7 +155,8 @@ class ListManager: sort=False, clear_screen=False, clear_menu_on_exit=False, - header=self.header).run() + header=self.header, + skip_empty_entries=True).run() if not target or target in self.bottom_list: break -- cgit v1.2.3-70-g09d2