diff --git a/frigate/api/classification.py b/frigate/api/classification.py index 562ea6d64..1689c8f6c 100644 --- a/frigate/api/classification.py +++ b/frigate/api/classification.py @@ -110,7 +110,7 @@ def deregister_faces(request: Request, name: str, body: dict = None): json: dict[str, any] = body or {} list_of_ids = json.get("ids", []) - delete_directory = json.get("delete_directory", False) # New flag for directory deletion + delete_directory = json.get("delete_directory", False) if not list_of_ids: return JSONResponse(