1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2024-12-25 01:01:47 +00:00

FIX: If no option for fuzzy year was selected, search would fail to match on results

This commit is contained in:
evilhero 2013-01-15 14:20:54 -05:00
parent 00fb374a59
commit 7d1eab92e0

View file

@ -392,8 +392,8 @@ def NZB_SEARCH(ComicName, IssueNumber, ComicYear, SeriesYear, nzbprov, nzbpr, Is
if cnt == 0:
comic_andiss = m[cnt]
logger.fdebug("Comic: " + str(comic_andiss))
if UseFuzzy == "0" or UseFuzzy == "2" or IssDateFix == "yes":
#logger.fdebug("UseFuzzy is : " + str(UseFuzzy))
logger.fdebug("UseFuzzy is : " + str(UseFuzzy))
if UseFuzzy == "0" or UseFuzzy == "2" or UseFuzzy is None or IssDateFix == "yes":
if m[cnt][:-2] == '19' or m[cnt][:-2] == '20':
logger.fdebug("year detected: " + str(m[cnt]))
result_comyear = m[cnt]