1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2024-12-22 07:42:24 +00:00

FIX: Fix for ManageIssues throwing a 500 error when attempting to view status' that contain annuals

This commit is contained in:
evilhero 2019-02-22 10:38:22 -05:00
parent 4f30900836
commit c1953be473

View file

@ -2490,10 +2490,12 @@ class WebInterface(object):
annuals = []
for iss in issues:
results.append(iss)
resultlist.append(str(iss['IssueID']))
if status == 'Snatched':
resultlist.append(str(iss['IssueID']))
for ann in annuals:
results.append(ann)
resultlist.append(str(iss['IssueID']))
if status == 'Snatched':
resultlist.append(str(ann['IssueID']))
endresults = []
if status == 'Snatched':
for genlist in helpers.chunker(resultlist, 200):