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:
evilhero 2018-12-29 11:16:11 -05:00
parent a6fc3aac28
commit 9579a39c36
1 changed files with 1 additions and 1 deletions

View File

@ -459,7 +459,7 @@ class PostProcessor(object):
comicseries = myDB.select(tmpsql, tuple(loopchk))
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):
loopchk.append(re.sub('[\|\s]', '', orig_seriesname.lower()))
tmpsql = "SELECT * FROM comics WHERE DynamicComicName IN ({seq}) COLLATE NOCASE".format(seq=','.join('?' * len(loopchk)))