Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gcushen authored Aug 15, 2021
1 parent eb8ed0e commit 56757a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion academic/import_bibtex.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,10 @@ def parse_bibtex_entry(
page.load(Path("index.md"))

page.fm["title"] = clean_bibtex_str(entry["title"])

if "subtitle" in entry:
page.fm["subtitle"] = clean_bibtex_str(entry["subtitle"])

year, month, day = "", "01", "01"
if "date" in entry:
dateparts = entry["date"].split("-")
Expand Down

0 comments on commit 56757a6

Please sign in to comment.