mirror of
https://github.com/evilhero/mylar
synced 2025-01-03 05:24:43 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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)))
|
||||
|
|
Loading…
Reference in a new issue