Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/menu
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2022-04-25 09:58:36 +0200
committerGitHub <noreply@github.com>2022-04-25 09:58:36 +0200
commit44727e64ea40d08e4a9f18d3e36bba474a185176 (patch)
treeb6f800a5607c04085784fba7356ea85ce75ea8be /archinstall/lib/menu
parentf10d8abb1389598b283648b997d69b97ae1547a8 (diff)
Require superuser or root password fixed. (#1082)
Diffstat (limited to 'archinstall/lib/menu')
-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 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