1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2025-02-01 20:11:31 +00:00

FIX: Fix volume search comparison for 32p results (and some nzbs)

This commit is contained in:
evilhero 2016-04-25 14:38:42 -04:00
parent 8f53f854ff
commit 019290e55e

View file

@ -885,6 +885,7 @@ def NZB_SEARCH(ComicName, IssueNumber, ComicYear, SeriesYear, Publisher, IssueDa
#vol_label = ct #store the wording of how the Vol is defined so we can skip it later on.
vol_nono.append(ctchk.index(ct))
volfound = True
origvol = None
continue
if len(tmpsplit[1:]) == 4 and tmpsplit[1:].isdigit(): #v2013
@ -918,7 +919,10 @@ def NZB_SEARCH(ComicName, IssueNumber, ComicYear, SeriesYear, Publisher, IssueDa
continue
if fndcomicversion:
cleantitle = re.sub(fndcomicversion, '', cleantitle).strip()
if origvol:
cleantitle = re.sub(origvol, '', cleantitle).strip()
else:
cleantitle = re.sub(fndcomicversion, '', cleantitle).strip()
logger.fdebug('Newly finished reformed cleantitle (with NO volume label): ' + cleantitle)
versionfound = "yes"
break