Fix 'NoneType' object has no attribute 'kodi_path'

This commit is contained in:
croneter 2019-03-16 17:47:23 +01:00
parent 98975ff23d
commit eef0eda426

View file

@ -202,6 +202,8 @@ def _full_sync():
return False
playlist = db.get_playlist(plex_id=plex_id)
LOG.debug('Removing outdated Plex playlist from Kodi: %s', playlist)
if playlist is None:
continue
try:
kodi_pl.delete(playlist)
except PlaylistError: