Skip to content

Commit

Permalink
Make changelog avatars optional
Browse files Browse the repository at this point in the history
  • Loading branch information
luk1337 committed Sep 24, 2024
1 parent f5b7396 commit 0b7ce4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion changelog/gerrit.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def __init__(self, url, obj):
except KeyError:
self.email = 'unknown'
self.avatars = {}
for i in obj['avatars']:
for i in obj.get('avatars', []):
self.avatars[i['height']] = i['url']


Expand Down

0 comments on commit 0b7ce4b

Please sign in to comment.