Fix AttributeError
This commit is contained in:
parent
14c135a634
commit
d2922d61f5
1 changed files with 3 additions and 4 deletions
|
@ -136,10 +136,9 @@ def process_fanart(plex_id, plex_type, refresh=False):
|
||||||
if art in external_set_artwork:
|
if art in external_set_artwork:
|
||||||
del external_set_artwork[art]
|
del external_set_artwork[art]
|
||||||
with itemtypes.Movie(None) as movie:
|
with itemtypes.Movie(None) as movie:
|
||||||
movie.artwork.modify_artwork(external_set_artwork,
|
movie.kodidb.modify_artwork(external_set_artwork,
|
||||||
setid,
|
setid,
|
||||||
v.KODI_TYPE_SET,
|
v.KODI_TYPE_SET)
|
||||||
movie.kodicursor)
|
|
||||||
done = True
|
done = True
|
||||||
finally:
|
finally:
|
||||||
if done is True:
|
if done is True:
|
||||||
|
|
Loading…
Reference in a new issue