From bf1a85a94104a78ba16bc48858f48fe2b2ef90d0 Mon Sep 17 00:00:00 2001 From: RundownRhino <52856631+RundownRhino@users.noreply.github.com> Date: Fri, 7 Oct 2022 14:10:52 +0300 Subject: [PATCH] Default to empty changelog if changelog body is None. --- cddagl/ui/views/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cddagl/ui/views/main.py b/cddagl/ui/views/main.py index ff936f87..5b55f84e 100644 --- a/cddagl/ui/views/main.py +++ b/cddagl/ui/views/main.py @@ -3288,8 +3288,8 @@ def refresh_changelog(self): continue new_date = entry['closed_at'][0:10] - new_entry = changelog_entry(title =entry['title'], - body = entry['body'].split('####'), + new_entry = changelog_entry(title=entry['title'], + body = (entry['body'] or "").split('####'), node_id =entry['node_id'], number=entry['number'], html_url=entry['html_url']