Skip to content

Commit

Permalink
fixed: convert value of environment variable to pathlib
Browse files Browse the repository at this point in the history
  • Loading branch information
Löffler, Hannes committed Jul 11, 2024
1 parent e383f5e commit eb61443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reinvent/prior_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


if "REINVENT_PRIOR_BASE" in os.environ:
PRIOR_BASE = os.environ["REINVENT_PRIOR_BASE"]
PRIOR_BASE = pathlib.Path(os.environ["REINVENT_PRIOR_BASE"])
else:
PRIOR_BASE = pathlib.Path(reinvent.__file__).parents[1] / "priors"

Expand Down

0 comments on commit eb61443

Please sign in to comment.