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: if album is None or album == 401:
log.error('Could not download album, abort') log.error('Could not download album, abort')
return return
self.add_updateAlbum(album[0]) self.add_updateAlbum(album[0], children=[item])
plex_dbalbum = plex_db.getItem_byId(plex_albumId) plex_dbalbum = plex_db.getItem_byId(plex_albumId)
try: try:
albumid = plex_dbalbum[0] albumid = plex_dbalbum[0]