Fix KeyError
This commit is contained in:
parent
41b5ec1b8e
commit
9245f44f70
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ class Season(ItemBase, TvShowMixin):
|
||||||
LOG.error('Could not find parent tv show for season %s. '
|
LOG.error('Could not find parent tv show for season %s. '
|
||||||
'Skipping season for now.', plex_id)
|
'Skipping season for now.', plex_id)
|
||||||
return
|
return
|
||||||
parent_id = show['parent_id']
|
parent_id = show['kodi_id']
|
||||||
kodi_id = self.kodi_db.add_season(parent_id, api.season_number())
|
kodi_id = self.kodi_db.add_season(parent_id, api.season_number())
|
||||||
self.artwork.modify_artwork(api.artwork(),
|
self.artwork.modify_artwork(api.artwork(),
|
||||||
kodi_id,
|
kodi_id,
|
||||||
|
|
Loading…
Add table
Reference in a new issue