Fix 'NoneType' object has no attribute 'kodi_path'
This commit is contained in:
parent
98975ff23d
commit
eef0eda426
1 changed files with 2 additions and 0 deletions
|
@ -202,6 +202,8 @@ def _full_sync():
|
||||||
return False
|
return False
|
||||||
playlist = db.get_playlist(plex_id=plex_id)
|
playlist = db.get_playlist(plex_id=plex_id)
|
||||||
LOG.debug('Removing outdated Plex playlist from Kodi: %s', playlist)
|
LOG.debug('Removing outdated Plex playlist from Kodi: %s', playlist)
|
||||||
|
if playlist is None:
|
||||||
|
continue
|
||||||
try:
|
try:
|
||||||
kodi_pl.delete(playlist)
|
kodi_pl.delete(playlist)
|
||||||
except PlaylistError:
|
except PlaylistError:
|
||||||
|
|
Loading…
Reference in a new issue