Merge pull request #950 from croneter/fix-check
Remove obsolete check if path is indeed in unicode
This commit is contained in:
commit
91da038413
1 changed files with 0 additions and 2 deletions
|
@ -104,8 +104,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.rsplit('.', 1)
|
self.kodi_filename, self.kodi_extension = f.rsplit('.', 1)
|
||||||
|
|
Loading…
Reference in a new issue