mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-07 08:46:12 +00:00
Simplify boolean
This commit is contained in:
parent
ba164d1358
commit
b110f1cf13
9 changed files with 9 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue