fixed season check

This commit is contained in:
Marcel van der Veldt 2015-05-08 01:38:38 +02:00
parent 0cb4d7fb25
commit 7c995a5a17
1 changed files with 1 additions and 1 deletions

View File

@ -653,7 +653,7 @@ class WriteKodiVideoDB():
if seasonData != None:
for season in seasonData:
seasonNum = season.get("IndexNumber")
if seasonNum != None and seasonNum >= 0 and seasonNum <= 1000:
if seasonNum != None and seasonNum >= 0:
cursor.execute("SELECT idSeason as seasonid FROM seasons WHERE idShow = ? and season = ?",(kodiTvShowId, seasonNum))
result = cursor.fetchone()
if result == None: