Update generate_releasenotes.py

This commit is contained in:
Tomaae 2022-01-24 15:09:00 +01:00 committed by GitHub
parent f1268ad1b7
commit 5db1c78de7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -103,8 +103,12 @@ def get_integration_commits(github, skip=True):
continue
if "\n" in msg:
msg = msg.split("\n")[0]
if commit.author:
ath = commit.author
else:
ath = "Unknown"
changes += CHANGE.format(
line=msg, link=commit.html_url, author=commit.author.login
line=msg, link=commit.html_url, author=ath
)
return changes