Fix unicode error

For deleting playlists
This commit is contained in:
angelblue05 2018-06-24 10:57:59 -05:00
parent 441e05695a
commit 26c3bbf088

View File

@ -442,7 +442,7 @@ class Playlist(object):
dirs, files = xbmcvfs.listdir(path) dirs, files = xbmcvfs.listdir(path)
for file in files: for file in files:
if file.decode('utf-8').startswith('Emby'): if file.decode('utf-8').startswith('Emby'):
self._delete_playlist(os.path.join(path, file)) self._delete_playlist(os.path.join(path, file.decode('utf-8')))
class VideoNodes(object): class VideoNodes(object):