From 22e259b0ce50299b070a8014a085e907e54c3277 Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Fri, 23 Sep 2022 07:30:43 -0600 Subject: [PATCH] Formatting --- frigate/http.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frigate/http.py b/frigate/http.py index c3348f68a..f0c43103a 100644 --- a/frigate/http.py +++ b/frigate/http.py @@ -236,7 +236,9 @@ def set_sub_label(id): ) if not event.end_time: - current_app.detected_frames_processor.camera_states[event.camera].tracked_objects[event.id].obj_data["sub_label"] = new_sub_label + current_app.detected_frames_processor.camera_states[ + event.camera + ].tracked_objects[event.id].obj_data["sub_label"] = new_sub_label event.sub_label = new_sub_label event.save()