Require superuser or root password fixed. (#1082)

This commit is contained in:
Anton Hvornum 2022-04-25 09:58:36 +02:00 committed by GitHub
parent f10d8abb13
commit 44727e64ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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