From 44727e64ea40d08e4a9f18d3e36bba474a185176 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Mon, 25 Apr 2022 09:58:36 +0200 Subject: Require superuser or root password fixed. (#1082) --- archinstall/lib/menu/selection_menu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archinstall') diff --git a/archinstall/lib/menu/selection_menu.py b/archinstall/lib/menu/selection_menu.py index 37e54685..25a8b9e8 100644 --- a/archinstall/lib/menu/selection_menu.py +++ b/archinstall/lib/menu/selection_menu.py @@ -141,7 +141,7 @@ class Selector: self._current_selection = current def has_selection(self) -> bool: - if self._current_selection is None: + if not self._current_selection: return False return True -- cgit v1.2.3-70-g09d2