diff --git a/frigate/api/classification.py b/frigate/api/classification.py index 8c2d464d4..1f6d8b792 100644 --- a/frigate/api/classification.py +++ b/frigate/api/classification.py @@ -250,12 +250,6 @@ def deregister_faces(request: Request, name: str, body: dict = None): json: dict[str, any] = body or {} list_of_ids = json.get("ids", "") - if not list_of_ids or len(list_of_ids) == 0: - return JSONResponse( - content=({"success": False, "message": "Not a valid list of ids"}), - status_code=404, - ) - context: EmbeddingsContext = request.app.embeddings context.delete_face_ids( name, map(lambda file: sanitize_filename(file), list_of_ids) diff --git a/frigate/track/tracked_object.py b/frigate/track/tracked_object.py index ee9883d37..9b4bb216a 100644 --- a/frigate/track/tracked_object.py +++ b/frigate/track/tracked_object.py @@ -358,7 +358,6 @@ class TrackedObject: if now + 0.5 > self.last_published: self.last_published = now - print(f"running manual attribute update") return True return False