mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-23 08:30:32 +00:00
Remove six: string coercion
This commit is contained in:
parent
0e5c5e4c07
commit
57ed8bdedd
8 changed files with 17 additions and 34 deletions
|
@ -6,7 +6,6 @@ from __future__ import division, absolute_import, print_function, unicode_litera
|
|||
import os
|
||||
|
||||
from kodi_six import xbmcgui, xbmcaddon
|
||||
from six import ensure_text
|
||||
|
||||
from ..helper import window, addon_id
|
||||
from ..helper import LazyLogger
|
||||
|
@ -69,7 +68,7 @@ class ContextMenu(xbmcgui.WindowXMLDialog):
|
|||
):
|
||||
|
||||
option = self.list_.getSelectedItem()
|
||||
self.selected_option = ensure_text(option.getLabel())
|
||||
self.selected_option = option.getLabel()
|
||||
LOG.info("option selected: %s", self.selected_option)
|
||||
|
||||
self.close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue