Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Igor Davidyuk <igor.davidyuk@intel.com>
  • Loading branch information
igor-davidyuk committed May 29, 2024
1 parent 3bd00bc commit 1b87369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geti_sdk/data_models/annotation_scene.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ def filter_annotations(
:return: AnnotationScene with filtered annotations
"""
label_names_to_keep = {
label if type(label) == str else label.name for label in labels
label if type(label) is str else label.name for label in labels
}
filtered_annotations: List[Annotation] = []
for annotation in self.annotations:
Expand Down

0 comments on commit 1b87369

Please sign in to comment.