Remove obsolete check
This commit is contained in:
parent
92a7fa7c7a
commit
dca1bb6835
1 changed files with 0 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue