From 0036a8552390ba214ac372a6f72643f9c27abcb9 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Sat, 28 Sep 2024 07:33:03 -0600 Subject: [PATCH] Formatting --- frigate/object_processing.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frigate/object_processing.py b/frigate/object_processing.py index e0ab35981..19cb5ae2b 100644 --- a/frigate/object_processing.py +++ b/frigate/object_processing.py @@ -752,7 +752,10 @@ class CameraState: sub_label = None if obj.obj_data.get("sub_label"): - if obj.obj_data.get("sub_label")[0] in self.config.model.all_attributes: + if ( + obj.obj_data.get("sub_label")[0] + in self.config.model.all_attributes + ): label = obj.obj_data["sub_label"][0] else: label = f"{object_type}-verified"