Skip to content

Commit

Permalink
Update openadapt/config.py
Browse files Browse the repository at this point in the history
Co-authored-by: Richard Abrich <[email protected]>
  • Loading branch information
Mustaballer and abrichr authored Dec 12, 2023
1 parent 39b334e commit b79f3b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openadapt/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ def set_db_url(db_fname: str) -> None:
Args:
db_fname (str): The database file name.
"""
# TODO: pass these in as parameters, whose default values are the globals
global DB_FNAME, DB_FPATH, DB_URL
DB_FNAME = db_fname
if DB_FNAME == "openadapt.db": # noqa
Expand Down

0 comments on commit b79f3b5

Please sign in to comment.