Skip to content

Commit

Permalink
Fix error if out directory doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
object-Object committed Aug 31, 2024
1 parent 8732b91 commit f61d984
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def scrape_book_types(session: nox.Session):
session.install("-e", ".[runtime]", "--find-links=./vendor")

tmp_file = Path("out/book_types.py")
tmp_file.parent.mkdir(parents=True, exist_ok=True)
with tmp_file.open("w", encoding="utf-8") as f:
session.run(
"python",
Expand Down

0 comments on commit f61d984

Please sign in to comment.