Skip to content

Commit 6ba0a0f

Browse files
committed
merge
2 parents 37ecbde + 6fd474c commit 6ba0a0f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/superannotate/lib/app/interface/sdk_interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1675,7 +1675,7 @@ def prepare_export(
16751675
"""
16761676
project_name, folder_name = extract_project_folder(project)
16771677
if folder_names is None:
1678-
folders = [folder_name]
1678+
folders = [folder_name] if folder_name else []
16791679
else:
16801680
folders = folder_names
16811681
if not annotation_statuses:

tests/integration/test_interface.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,4 +179,5 @@ def test_export_annotation(self):
179179
sa.export_annotation(
180180
export_dir, convert_path, "COCO", "data_set_name", "Pixel", "panoptic_segmentation"
181181
)
182-
pass
182+
pass
183+

0 commit comments

Comments
 (0)