From 1a7afe58fc27bd8b3fc729daa29a0b72f19408e2 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Tue, 29 Oct 2024 10:49:48 -0600 Subject: [PATCH] Fix environment vars reading --- frigate/config/env.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/config/env.py b/frigate/config/env.py index e4e6842cb..0a9b92e8f 100644 --- a/frigate/config/env.py +++ b/frigate/config/env.py @@ -23,7 +23,7 @@ EnvString = Annotated[str, AfterValidator(validate_env_string)] def validate_env_vars(v: dict[str, str], info: ValidationInfo) -> dict[str, str]: if isinstance(info.context, dict) and info.context.get("install", False): - for k, v in v: + for k, v in v.items(): os.environ[k] = v return v