mirror of https://github.com/evilhero/mylar
FIX: When post-processing issues that are specials, in some circumstances would not properly account for the word special as being part of the title, and not part of the issue number
This commit is contained in:
parent
a6fc3aac28
commit
9579a39c36
|
@ -459,7 +459,7 @@ class PostProcessor(object):
|
||||||
comicseries = myDB.select(tmpsql, tuple(loopchk))
|
comicseries = myDB.select(tmpsql, tuple(loopchk))
|
||||||
|
|
||||||
if not comicseries or orig_seriesname != mod_seriesname:
|
if not comicseries or orig_seriesname != mod_seriesname:
|
||||||
if all(['special' in mod_seriesname.lower(), mylar.CONFIG.ANNUALS_ON, orig_seriesname != mod_seriesname]):
|
if all(['special' in orig_seriesname.lower(), mylar.CONFIG.ANNUALS_ON, orig_seriesname != mod_seriesname]):
|
||||||
if not any(re.sub('[\|\s]', '', orig_seriesname).lower() == x for x in loopchk):
|
if not any(re.sub('[\|\s]', '', orig_seriesname).lower() == x for x in loopchk):
|
||||||
loopchk.append(re.sub('[\|\s]', '', orig_seriesname.lower()))
|
loopchk.append(re.sub('[\|\s]', '', orig_seriesname.lower()))
|
||||||
tmpsql = "SELECT * FROM comics WHERE DynamicComicName IN ({seq}) COLLATE NOCASE".format(seq=','.join('?' * len(loopchk)))
|
tmpsql = "SELECT * FROM comics WHERE DynamicComicName IN ({seq}) COLLATE NOCASE".format(seq=','.join('?' * len(loopchk)))
|
||||||
|
|
Loading…
Reference in New Issue