Simplify boolean

This commit is contained in:
Brian Pepple 2020-09-27 11:10:51 -04:00 committed by Odd Stråbø
commit b110f1cf13
9 changed files with 9 additions and 9 deletions

View file

@ -39,7 +39,7 @@ class UsersConnect(xbmcgui.WindowXMLDialog):
setattr(self, key, value)
def is_user_selected(self):
return True if self._user else False
return bool(self._user)
def get_user(self):
return self._user