Skip to content

Commit 9869059

Browse files
committed
Fix log
1 parent 8a7ddd9 commit 9869059

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

superannotate/db/projects.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ def upload_images_from_folder_to_project(
619619
f'/{project_folder["name"]}' if project_folder else ""
620620
)
621621
upload_state = common.upload_state_int_to_str(project.get("upload_state"))
622-
project_type = common.project_type_int_to_str(project.get("type"))
622+
project_type = project.get("type")
623623

624624
if upload_state == "External":
625625
raise SABaseException(
@@ -721,7 +721,7 @@ def upload_images_to_project(
721721
project, folder = get_project_and_folder_metadata(project)
722722
folder_name = project["name"] + (f'/{folder["name"]}' if folder else "")
723723
upload_state = common.upload_state_int_to_str(project.get("upload_state"))
724-
project_type = common.project_type_int_to_str(project.get("type"))
724+
project_type = project.get("type")
725725

726726
if upload_state == "External":
727727
raise SABaseException(

superannotate/db/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ def _attach_urls(
635635
i for i in files_to_upload if i[0] not in duplicate_files
636636
]
637637
logger.info(
638-
"Uploading %s files to project %s.", len(files_to_upload), folder_name
638+
"Attaching %s files to project %s.", len(files_to_upload), folder_name
639639
)
640640

641641
files_to_skip = file_urls[limit:]

0 commit comments

Comments
 (0)