Fix AttributeError

This commit is contained in:
Croneter 2018-05-01 16:35:26 +02:00
parent f8682fb8cb
commit ff72648570

View file

@ -177,7 +177,7 @@ def m3u_to_plex_ids(playlist):
Adapter to process *.m3u playlist files. Encoding is not uniform except for Adapter to process *.m3u playlist files. Encoding is not uniform except for
m3u8 files! m3u8 files!
""" """
plex_ids = set() plex_ids = list()
with open(playlist.kodi_path, 'rb') as f: with open(playlist.kodi_path, 'rb') as f:
text = f.read() text = f.read()
if playlist.kodi_extension == 'm3u8': if playlist.kodi_extension == 'm3u8':