We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 685fa71 commit 9e25aa1Copy full SHA for 9e25aa1
src/jabs/ui/behavior_search_dialog.py
@@ -36,8 +36,8 @@ def run(self):
36
video_manager = self.project.video_manager
37
for video in video_manager.videos:
38
anno_dict = video_manager.load_annotations(video)
39
- if "annotations" in anno_dict:
40
- for annotation in anno_dict["annotations"]:
+ if anno_dict is not None:
+ for annotation in anno_dict.get("annotations", []):
41
if "tag" in annotation:
42
all_tags.add(annotation["tag"])
43
0 commit comments