Merge pull request #950 from croneter/fix-check

Remove obsolete check if path is indeed in unicode
This commit is contained in:
croneter 2019-08-02 10:50:30 +02:00 committed by GitHub
commit 91da038413
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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