Fix TypeError

This commit is contained in:
croneter 2017-08-19 16:10:44 +02:00
parent 40fc88c8f6
commit 0d108577ab

View file

@ -1729,7 +1729,7 @@ class Music(Items):
if album is None or album == 401:
log.error('Could not download album, abort')
return
self.add_updateAlbum(album[0])
self.add_updateAlbum(album[0], children=[item])
plex_dbalbum = plex_db.getItem_byId(plex_albumId)
try:
albumid = plex_dbalbum[0]