mirror of https://github.com/evilhero/mylar
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:
parent
94980a0252
commit
554a136dc2
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue