mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-19 06:36:12 +00:00
Fix linting, flake8 and sonarcloud issues
This commit is contained in:
parent
87af711c94
commit
3f63e7c213
27 changed files with 162 additions and 169 deletions
|
@ -34,8 +34,11 @@ class ContextMenu(xbmcgui.WindowXMLDialog):
|
|||
|
||||
xbmcgui.WindowXMLDialog.__init__(self, *args, **kwargs)
|
||||
|
||||
def set_options(self, options=[]):
|
||||
self._options = options
|
||||
def set_options(self, options=None):
|
||||
if options is None:
|
||||
self._options = []
|
||||
else:
|
||||
self._options = options
|
||||
|
||||
def is_selected(self):
|
||||
return True if self.selected_option else False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue