Skip to content

Commit

Permalink
Ensure that OUTPUT_DIR exists, even in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jhanley634 committed Feb 5, 2025
1 parent c12fd90 commit 2c940aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mediabridge/db/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class Rating(Base):

@cache
def get_engine() -> Engine:
DB_FILE.parent.mkdir(exist_ok=True)
return create_engine(f"sqlite:///{DB_FILE}")


Expand Down

0 comments on commit 2c940aa

Please sign in to comment.