Require superuser or root password fixed. (#1082)
This commit is contained in:
parent
f10d8abb13
commit
44727e64ea
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue