From 7930ea58fd3c55b38ff73949d74e9227ff351b60 Mon Sep 17 00:00:00 2001 From: codefiles <11915375+codefiles@users.noreply.github.com> Date: Fri, 13 Oct 2023 03:50:35 -0400 Subject: Fix install text initialization (#2162) --- archinstall/lib/menu/abstract_menu.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'archinstall/lib/menu') diff --git a/archinstall/lib/menu/abstract_menu.py b/archinstall/lib/menu/abstract_menu.py index 053f3c30..2ceb6ca7 100644 --- a/archinstall/lib/menu/abstract_menu.py +++ b/archinstall/lib/menu/abstract_menu.py @@ -252,7 +252,7 @@ class AbstractMenu: """ will be called before each action in the menu """ return - def post_callback(self, selection_name: str, value: Any): + def post_callback(self, selection_name: Optional[str] = None, value: Any = None): """ will be called after each action in the menu """ return True @@ -299,6 +299,7 @@ class AbstractMenu: def run(self, allow_reset: bool = False): self._sync_all() + self.post_callback() cursor_pos = None while True: -- cgit v1.2.3-54-g00ecf