Simplify boolean

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

View file

@ -31,7 +31,7 @@ class ResumeDialog(xbmcgui.WindowXMLDialog):
self._resume_point = time
def is_selected(self):
return True if self.selected_option is not None else False
return self.selected_option is not None
def get_selected(self):
return self.selected_option