From 89caee3834aefcd0d41f03486b19776a3160bef8 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Mon, 3 Nov 2025 07:26:00 -0700 Subject: [PATCH] Undo --- frigate/api/classification.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/api/classification.py b/frigate/api/classification.py index bd450bcc0..7c4b420a3 100644 --- a/frigate/api/classification.py +++ b/frigate/api/classification.py @@ -844,7 +844,7 @@ def delete_classification_model(request: Request, name: str): config_file = find_config_file() try: # Setting value to empty string deletes the key - updates = {"classification.custom": None} + updates = {f"classification.custom.{name}": None} update_yaml_file_bulk(config_file, updates) # Reload and update the in-memory config