Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
malmans2 committed Dec 7, 2023
1 parent 01adacf commit bcd9316
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cacholote/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,5 @@ def get() -> Settings:
"""Get cacholote settings."""
if _SETTINGS is None:
reset()
if _SETTINGS is None:
raise RuntimeError("reset() did not work properly")
assert _SETTINGS is not None, "reset() did not work properly"
return _SETTINGS.model_copy()

0 comments on commit bcd9316

Please sign in to comment.