Skip to content

Commit 84ad0a8

Browse files
authored
Merge pull request #414 from superannotateai/friday
Fix cli annotation
2 parents 1eed548 + 6ee988d commit 84ad0a8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ def upload_annotations(
187187
def _upload_annotations(
188188
self, project, folder, format, dataset_name, task, pre=True
189189
):
190+
project_folder_name = project
190191
project_name, folder_name = split_project_path(project)
191192
project = controller.get_project_metadata(project_name=project_name).data
192193
if not format:
@@ -213,11 +214,11 @@ def _upload_annotations(
213214
annotations_path = temp_dir
214215
if pre:
215216
upload_preannotations_from_folder_to_project(
216-
project_name, annotations_path
217+
project_folder_name, annotations_path
217218
)
218219
else:
219220
upload_annotations_from_folder_to_project(
220-
project_name, annotations_path
221+
project_folder_name, annotations_path
221222
)
222223
sys.exit(0)
223224

0 commit comments

Comments
 (0)