mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
better way to solve the nullpointer issue
This commit is contained in:
parent
e660c36dd3
commit
a513c01707
1 changed files with 10 additions and 11 deletions
|
@ -422,8 +422,7 @@ class LibrarySync():
|
||||||
episodeData = ReadEmbyDB().getEpisodes(tvshow,True)
|
episodeData = ReadEmbyDB().getEpisodes(tvshow,True)
|
||||||
kodiEpisodes = ReadKodiDB().getKodiEpisodes(tvshow,True,True)
|
kodiEpisodes = ReadKodiDB().getKodiEpisodes(tvshow,True,True)
|
||||||
|
|
||||||
if episodeData == None:
|
if episodeData != None:
|
||||||
return
|
|
||||||
|
|
||||||
if(self.ShouldStop(pDialog)):
|
if(self.ShouldStop(pDialog)):
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in a new issue