ruff
This commit is contained in:
parent
6c353a2d78
commit
57f092fb19
1 changed files with 2 additions and 1 deletions
|
|
@ -154,7 +154,8 @@ class NetworkBase:
|
|||
env_value = secrets.get(secrets_setting_name)
|
||||
if env_value is not None:
|
||||
warnings.warn(
|
||||
"Using secrets.py for network settings is deprecated. Put your settings in settings.toml."
|
||||
"Using secrets.py for network settings is deprecated."
|
||||
" Put your settings in settings.toml."
|
||||
)
|
||||
self._settings[setting_name] = env_value
|
||||
return env_value
|
||||
|
|
|
|||
Loading…
Reference in a new issue