From 7c995a5a17c67d7c28a6e3e543dcf88570c0acd3 Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Fri, 8 May 2015 01:38:38 +0200 Subject: [PATCH] fixed season check --- resources/lib/WriteKodiVideoDB.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/WriteKodiVideoDB.py b/resources/lib/WriteKodiVideoDB.py index 4e34d2d5..4039c82d 100644 --- a/resources/lib/WriteKodiVideoDB.py +++ b/resources/lib/WriteKodiVideoDB.py @@ -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: