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:
parent
8f53f854ff
commit
019290e55e
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue