Fix wrong exception type

This commit is contained in:
croneter 2018-02-03 15:46:41 +01:00
parent bee845ca95
commit c6edaf4304
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ def update_playqueue_from_PMS(playqueue,
playqueue.clear()
try:
PL.get_playlist_details_from_xml(playqueue, xml)
except KeyError:
except PL.PlaylistError:
LOG.error('Could not get playqueue ID %s', playqueue_id)
return
playqueue.repeat = 0 if not repeat else int(repeat)