Skip to content

Commit e8ca7e1

Browse files
Merge pull request #21 from OSSFE/only-convert-accepted-abstracts
Only convert accepted abstracts
2 parents 03f2291 + a9f570c commit e8ca7e1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

convert.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,10 @@ def main(argv: Sequence[str] | None = None) -> int:
104104
slug = slug.replace(" ", "").replace("/", "").replace(":", "").replace(",", "")
105105

106106
output = read_paper(row)
107-
(outdir / f"{slug}.md").write_text(output)
107+
if row["Decision"] in ["poster", "oral", "demo"]:
108+
(outdir / f"{slug}.md").write_text(output)
109+
else:
110+
print(f"Skipping {slug} due to decision {row['Decision']}")
108111

109112
return 0
110113

0 commit comments

Comments
 (0)