better way to solve the nullpointer issue

This commit is contained in:
Marcel van der Veldt 2015-03-25 13:30:08 +01:00
parent e660c36dd3
commit a513c01707

View file

@ -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