From 79fedee1d1eaf27289c76355b3041a78ff34d200 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Thu, 15 Jan 2026 11:43:47 -0600 Subject: [PATCH] convert none to empty string for config save --- frigate/api/app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frigate/api/app.py b/frigate/api/app.py index d24d9e868..66de385e3 100644 --- a/frigate/api/app.py +++ b/frigate/api/app.py @@ -442,6 +442,8 @@ def config_set(request: Request, body: AppConfigSetBody): updates = process_config_query_string(query_string) elif body.config_data: updates = flatten_config_data(body.config_data) + # Convert None values to empty strings for deletion (e.g., when deleting masks) + updates = {k: ("" if v is None else v) for k, v in updates.items()} if not updates: return JSONResponse(