From 9579a39c36d0165c74b95b44063d3692eb04943a Mon Sep 17 00:00:00 2001 From: evilhero Date: Sat, 29 Dec 2018 11:16:11 -0500 Subject: [PATCH] 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 --- mylar/PostProcessor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mylar/PostProcessor.py b/mylar/PostProcessor.py index 6959f13a..e1b3964d 100755 --- a/mylar/PostProcessor.py +++ b/mylar/PostProcessor.py @@ -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)))