Skip to content

Commit eedfa0c

Browse files
author
Matt Sokoloff
committed
fix logic for determining if the data is a video
1 parent cc962a5 commit eedfa0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labelbox/schema/project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def label_generator(self, timeout_seconds=60):
199199
is_video = [
200200
'frames' in row['Label'] for row in json_data if row['Label']
201201
]
202-
if len(is_video) and not any(is_video):
202+
if len(is_video) and any(is_video):
203203
raise ValueError(
204204
"Found video data rows in export. "
205205
"Use project.export_labels() to export projects with mixed data types. "

0 commit comments

Comments
 (0)