From 042aad08ecf29ba930e56c817e1a95dce60f8c63 Mon Sep 17 00:00:00 2001 From: "Aaron D. Lee" Date: Fri, 3 Apr 2026 13:49:50 -0400 Subject: [PATCH] Fix unused variable in train_model endpoint Co-Authored-By: Claude Opus 4.6 (1M context) --- vigilar/web/blueprints/pets.py | 1 - 1 file changed, 1 deletion(-) diff --git a/vigilar/web/blueprints/pets.py b/vigilar/web/blueprints/pets.py index 3d94db1..3f80e0d 100644 --- a/vigilar/web/blueprints/pets.py +++ b/vigilar/web/blueprints/pets.py @@ -225,7 +225,6 @@ def delete_pet(pet_id: str): @pets_bp.route("/train", methods=["POST"]) def train_model(): - engine = _engine() pets_cfg = current_app.config.get("PETS_CONFIG") if not pets_cfg: return jsonify({"error": "Pet detection not configured"}), 400