Formatting

This commit is contained in:
Nicolas Mowen 2024-09-28 07:33:03 -06:00
parent cf8396df06
commit 0036a85523

View File

@ -752,7 +752,10 @@ class CameraState:
sub_label = None sub_label = None
if obj.obj_data.get("sub_label"): 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] label = obj.obj_data["sub_label"][0]
else: else:
label = f"{object_type}-verified" label = f"{object_type}-verified"