Fix duplicate categories
buildbot/multibuild_parent Build done. Details
buildbot/travis_bionic Build done. Details

This commit is contained in:
Peter Šurda 2024-04-15 18:40:04 +08:00
parent cfd5200b29
commit 90273e96d0
Signed by: PeterSurda
GPG Key ID: 3E47497CF67ABB95
1 changed files with 4 additions and 4 deletions

View File

@ -29,11 +29,11 @@ def get_combined(token):
issues = json.load(response)
for issue in issues:
_id = issue['id']
if _id in combined:
if _id not in combined:
combined[_id] = issue
combined[_id]['categories'] = [q]
combined[_id]['categories'] = []
if q not in combined[_id]['categories']:
print(f"{timestamp} Done processing {q}")
return combined