Fix TypeError
This commit is contained in:
parent
b08b3dc443
commit
440f399917
1 changed files with 1 additions and 1 deletions
|
@ -360,6 +360,6 @@ def cache_artwork(plex_id, plex_type, kodi_id=None, kodi_type=None):
|
||||||
LOG.error('Could not retrieve Plex db info for %s', plex_id)
|
LOG.error('Could not retrieve Plex db info for %s', plex_id)
|
||||||
return
|
return
|
||||||
kodi_id, kodi_type = item['kodi_id'], item['kodi_type']
|
kodi_id, kodi_type = item['kodi_id'], item['kodi_type']
|
||||||
with kodidb.KODIDB_FROM_PLEXTYPE[plex_type]() as kodi_db:
|
with kodidb.KODIDB_FROM_PLEXTYPE[plex_type] as kodi_db:
|
||||||
for url in kodi_db.art_urls(kodi_id, kodi_type):
|
for url in kodi_db.art_urls(kodi_id, kodi_type):
|
||||||
artwork.cache_url(url)
|
artwork.cache_url(url)
|
||||||
|
|
Loading…
Reference in a new issue