Fix wrong exception type
This commit is contained in:
parent
bee845ca95
commit
c6edaf4304
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ def update_playqueue_from_PMS(playqueue,
|
||||||
playqueue.clear()
|
playqueue.clear()
|
||||||
try:
|
try:
|
||||||
PL.get_playlist_details_from_xml(playqueue, xml)
|
PL.get_playlist_details_from_xml(playqueue, xml)
|
||||||
except KeyError:
|
except PL.PlaylistError:
|
||||||
LOG.error('Could not get playqueue ID %s', playqueue_id)
|
LOG.error('Could not get playqueue ID %s', playqueue_id)
|
||||||
return
|
return
|
||||||
playqueue.repeat = 0 if not repeat else int(repeat)
|
playqueue.repeat = 0 if not repeat else int(repeat)
|
||||||
|
|
Loading…
Reference in a new issue