FIX: (Annual-Integration) Fix for auto-detection of annuals/specials of watchlisted series that have not been added to the annuals portion of the series but are new to the weekly pulllist

This commit is contained in:
evilhero 2018-06-29 12:52:37 -04:00
parent 94980a0252
commit 554a136dc2
1 changed files with 1 additions and 1 deletions

View File

@ -1156,8 +1156,8 @@ def new_pullcheck(weeknumber, pullyear, comic1off_name=None, comic1off_id=None,
anncid = None
seriesyear = None
try:
if all([mylar.CONFIG.ANNUALS_ON is True, len(annualidmatch[0]['AnnualIDs']) == 0]) or all([mylar.CONFIG.ANNUALS_ON is True, annualidmatch[0]['AnnualIDs'][0]['ComicID'] != week['comicid']]):
#if the annual/special on the weekly is not a part of the series, pass in the anncomicid so that it can get added.
if all([mylar.CONFIG.ANNUALS_ON is True, annualidmatch[0]['AnnualIDs'][0]['ComicID'] != week['comicid']]):
anncid = week['comicid']
seriesyear = annualidmatch[0]['SeriesYear']
except Exception as e: