Fix AttributeError

This commit is contained in:
croneter 2018-11-22 08:04:41 +01:00
parent 14c135a634
commit d2922d61f5

View file

@ -136,10 +136,9 @@ def process_fanart(plex_id, plex_type, refresh=False):
if art in external_set_artwork:
del external_set_artwork[art]
with itemtypes.Movie(None) as movie:
movie.artwork.modify_artwork(external_set_artwork,
movie.kodidb.modify_artwork(external_set_artwork,
setid,
v.KODI_TYPE_SET,
movie.kodicursor)
v.KODI_TYPE_SET)
done = True
finally:
if done is True: