Fixed problem with the analyzer erroing out when nzb search results had no year present in title

This commit is contained in:
evilhero 2012-10-16 13:26:28 -04:00
parent 99cd3e25eb
commit 5fb5e56532
1 changed files with 2 additions and 0 deletions

View File

@ -290,6 +290,8 @@ def NZB_SEARCH(ComicName, IssueNumber, ComicYear, SeriesYear, nzbprov, nzbpr, Is
#print ("there are " + str(lenm) + " words.") #print ("there are " + str(lenm) + " words.")
cnt = 0 cnt = 0
yearmatch = "false"
while (cnt < lenm): while (cnt < lenm):
if m[cnt] is None: break if m[cnt] is None: break
#print (str(cnt) + ". Bracket Word: " + m[cnt] ) #print (str(cnt) + ". Bracket Word: " + m[cnt] )