Skip to content

Commit cd96939

Browse files
committed
Fix missing annotation upload
1 parent 625af3c commit cd96939

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

superannotate/db/projects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1186,7 +1186,7 @@ def __upload_annotations_thread(
11861186
metadata["id"]: metadata["name"]
11871187
for metadata in metadatas
11881188
}
1189-
if len(names) < len(metadatas):
1189+
if len(metadatas) < len(names):
11901190
for name in names:
11911191
if name not in names_in_metadatas:
11921192
ann_path = Path(folder_path) / (name + postfix_json)

0 commit comments

Comments
 (0)