Skip to content
This repository has been archived by the owner on Jul 18, 2022. It is now read-only.

Commit

Permalink
Apply black codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
cofob committed Feb 19, 2022
1 parent 62ab7d1 commit b9c26b5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions autodonate/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,7 @@ def __init__(self) -> None:
# looking for a config
# determining the default value
# if there "DONATE_CONFIG" use it
if (
environ.get("DONATE_CONFIG") and Path(environ["DONATE_CONFIG"]).is_file()
):
if environ.get("DONATE_CONFIG") and Path(environ["DONATE_CONFIG"]).is_file():
self.CONFIG_PATH: Path = Path(environ["DONATE_CONFIG"])
elif Path("/config/config.toml").is_file():
self.CONFIG_PATH: Path = Path("/config/config.toml") # type: ignore[no-redef]
Expand Down

0 comments on commit b9c26b5

Please sign in to comment.