Skip to content

Commit 29bde6f

Browse files
committed
Only add to conference list if the conference details could actually be parse
1 parent 3fd5236 commit 29bde6f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

_conferences/__main__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ def write_conferences_to_file(confs: list[dict]):
105105
for issue in open_issues:
106106
if "conference" in [label.name for label in issue.labels]:
107107
parsed_conf = parse_conference_details(issue_body=issue.body)
108-
conferences.append(parsed_conf)
108+
if parsed_conf:
109+
conferences.append(parsed_conf)
109110

110111
write_conferences_to_file(conferences)

0 commit comments

Comments
 (0)