Fix KeyErrors
This commit is contained in:
parent
5673abc19b
commit
335c0175a7
1 changed files with 2 additions and 2 deletions
|
@ -133,8 +133,8 @@ class Show(ItemBase, TvShowMixin):
|
||||||
return
|
return
|
||||||
show = self.plexdb.show(plex_id)
|
show = self.plexdb.show(plex_id)
|
||||||
try:
|
try:
|
||||||
kodi_id = show[3]
|
kodi_id = show['kodi_id']
|
||||||
kodi_pathid = show[4]
|
kodi_pathid = show['kodi_pathid']
|
||||||
except TypeError:
|
except TypeError:
|
||||||
update_item = False
|
update_item = False
|
||||||
query = 'SELECT COALESCE(MAX(idShow), 0) FROM tvshow'
|
query = 'SELECT COALESCE(MAX(idShow), 0) FROM tvshow'
|
||||||
|
|
Loading…
Reference in a new issue