mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2026-03-18 14:26:53 +00:00
Ruff formatting
This commit is contained in:
parent
955d30675b
commit
76c103e6ae
|
|
@ -15,6 +15,7 @@ def _read_secret(secret_name: str, default: str | None = None) -> str | None:
|
||||||
with f:
|
with f:
|
||||||
return f.readline().strip()
|
return f.readline().strip()
|
||||||
|
|
||||||
|
|
||||||
su_name = environ.get("SUPERUSER_NAME", "admin")
|
su_name = environ.get("SUPERUSER_NAME", "admin")
|
||||||
su_email = environ.get("SUPERUSER_EMAIL", "admin@example.com")
|
su_email = environ.get("SUPERUSER_EMAIL", "admin@example.com")
|
||||||
su_password = _read_secret("superuser_password", environ.get("SUPERUSER_PASSWORD", "admin"))
|
su_password = _read_secret("superuser_password", environ.get("SUPERUSER_PASSWORD", "admin"))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue