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 ee724fa commit a0d690cCopy full SHA for a0d690c
src/superannotate/lib/app/helpers.py
@@ -50,10 +50,11 @@ def get_local_annotation_paths(
50
) -> List[str]:
51
all_items = [*Path(folder_path).glob("*")]
52
all_folders = [i for i in all_items if i.is_dir()]
53
+ all_not_folders = [i for i in all_items if not i.is_dir()]
54
annotation_paths.update(
55
[
56
str(i)
- for i in all_items
57
+ for i in all_not_folders
58
if i.name.endswith((VECTOR_ANNOTATION_POSTFIX, PIXEL_ANNOTATION_POSTFIX))
59
]
60
)
0 commit comments