FIX:(#2104) Manual post-proessing a directory of issues of the same series would result in only one issue being post-processed per series (previous commit fix)

This commit is contained in:
evilhero 2018-10-27 14:01:13 -04:00
parent 2759c61d06
commit 547ef919b2
1 changed files with 1 additions and 1 deletions

View File

@ -711,7 +711,7 @@ class PostProcessor(object):
if re.sub('\|', '', xseries) == re.sub('\|', '', xfile):
logger.fdebug('%s[DEFINITIVE-NAME MATCH] Definitive name match exactly to : %s [%s]' % (module, watchmatch['series_name'], cs['ComicID']))
if len(manual_list) > 1:
manual_list = [item for item in manual_list if all([item['ComicID'] == cs['ComicID'], item['AnnualType'] is not None]) or all([item['ComicID'] == cs['ComicID'], item['ComicLocation'] == clocation]) or all([item['ComicID'] != cs['ComicID'], item['ComicLocation'] != clocation])]
manual_list = [item for item in manual_list if all([item['IssueID'] == isc['IssueID'], item['AnnualType'] is not None]) or all([item['IssueID'] == isc['IssueID'], item['ComicLocation'] == clocation]) or all([item['IssueID'] != isc['IssueID'], item['ComicLocation'] != clocation])]
self.matched = True
else:
continue #break