Remove six: string coercion

This commit is contained in:
Odd Stråbø 2024-06-11 04:46:20 +00:00
parent 0e5c5e4c07
commit 57ed8bdedd
8 changed files with 17 additions and 34 deletions

View file

@ -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()