Remove obsolete check

This commit is contained in:
croneter 2019-08-01 12:46:13 +02:00
parent 92a7fa7c7a
commit dca1bb6835

View file

@ -101,8 +101,6 @@ class Playlist(object):
@kodi_path.setter @kodi_path.setter
def kodi_path(self, path): def kodi_path(self, path):
if not isinstance(path, unicode):
raise RuntimeError('Path not in unicode: %s' % path)
f = path_ops.path.basename(path) f = path_ops.path.basename(path)
try: try:
self.kodi_filename, self.kodi_extension = f.split('.', 1) self.kodi_filename, self.kodi_extension = f.split('.', 1)