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
1 changed files with 4 additions and 2 deletions

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):