Another none check

This commit is contained in:
xnappo 2015-03-29 19:07:07 -05:00
parent 18e7a1660b
commit 0a3ad1988a

View file

@ -445,9 +445,12 @@ class LibrarySync():
allKodiTVShows = ReadKodiDB().getKodiTvShows(False)
if allKodiTVShows != None:
kodishow = allKodiTVShows.get(tvshow,None)
if kodishow != None:
kodiEpisodes = ReadKodiDB().getKodiEpisodes(kodishow["tvshowid"],True,True)
else:
kodiEpisodes = None
else:
kodiEpisodes = None
if episodeData != None: