1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2025-01-03 13:34:33 +00:00

FIX:(#2104)(#2093)(#2084) Fix for manual post-processing throwing dupe errors when attempting to post-process issues that have multiple-matches on a given watchlist

This commit is contained in:
evilhero 2018-10-25 13:43:04 -04:00
parent 7b49b66bd8
commit 2759c61d06

View file

@ -710,6 +710,8 @@ 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])]
self.matched = True
else:
continue #break