mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16:11 +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)
|
||||
kodiEpisodes = ReadKodiDB().getKodiEpisodes(tvshow,True,True)
|
||||
|
||||
if episodeData == None:
|
||||
return
|
||||
if episodeData != None:
|
||||
|
||||
if(self.ShouldStop(pDialog)):
|
||||
return True
|
||||
|
|
Loading…
Reference in a new issue