From 5fb5e56532f99da1441100ef664b4f1ce935d1d0 Mon Sep 17 00:00:00 2001 From: evilhero Date: Tue, 16 Oct 2012 13:26:28 -0400 Subject: [PATCH] Fixed problem with the analyzer erroing out when nzb search results had no year present in title --- mylar/search.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mylar/search.py b/mylar/search.py index 331baf64..48ad0e88 100644 --- a/mylar/search.py +++ b/mylar/search.py @@ -290,6 +290,8 @@ def NZB_SEARCH(ComicName, IssueNumber, ComicYear, SeriesYear, nzbprov, nzbpr, Is #print ("there are " + str(lenm) + " words.") cnt = 0 + yearmatch = "false" + while (cnt < lenm): if m[cnt] is None: break #print (str(cnt) + ". Bracket Word: " + m[cnt] )