Another none check
This commit is contained in:
parent
18e7a1660b
commit
0a3ad1988a
1 changed files with 4 additions and 1 deletions
|
@ -445,9 +445,12 @@ class LibrarySync():
|
||||||
allKodiTVShows = ReadKodiDB().getKodiTvShows(False)
|
allKodiTVShows = ReadKodiDB().getKodiTvShows(False)
|
||||||
if allKodiTVShows != None:
|
if allKodiTVShows != None:
|
||||||
kodishow = allKodiTVShows.get(tvshow,None)
|
kodishow = allKodiTVShows.get(tvshow,None)
|
||||||
|
if kodishow != None:
|
||||||
kodiEpisodes = ReadKodiDB().getKodiEpisodes(kodishow["tvshowid"],True,True)
|
kodiEpisodes = ReadKodiDB().getKodiEpisodes(kodishow["tvshowid"],True,True)
|
||||||
else:
|
else:
|
||||||
kodiEpisodes = None
|
kodiEpisodes = None
|
||||||
|
else:
|
||||||
|
kodiEpisodes = None
|
||||||
|
|
||||||
if episodeData != None:
|
if episodeData != None:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue