Ruff
This commit is contained in:
parent
3b92357186
commit
726981a881
|
@ -126,7 +126,11 @@ class SecretLoader:
|
||||||
), 'Prefix must not end with _ (this will be added automatically)'
|
), 'Prefix must not end with _ (this will be added automatically)'
|
||||||
|
|
||||||
# Setup secrets path
|
# Setup secrets path
|
||||||
self.secret_folder = Path(self.hardcoded.get(ENV_KEY_SECRETS_DIRECTORY) or self._load_or_none_env(ENV_KEY_SECRETS_DIRECTORY) or DEFAULT_SECRETS_DIRECTORY)
|
self.secret_folder = Path(
|
||||||
|
self.hardcoded.get(ENV_KEY_SECRETS_DIRECTORY)
|
||||||
|
or self._load_or_none_env(ENV_KEY_SECRETS_DIRECTORY)
|
||||||
|
or DEFAULT_SECRETS_DIRECTORY,
|
||||||
|
)
|
||||||
|
|
||||||
# Setup pass
|
# Setup pass
|
||||||
self.pass_folder = self._load_or_none(ENV_KEY_PASS_FOLDER)
|
self.pass_folder = self._load_or_none(ENV_KEY_PASS_FOLDER)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user