File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed
Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -2527,10 +2527,6 @@ def upload_preannotations_from_folder_to_project(
25272527 annotation_paths = get_annotation_paths (
25282528 folder_path , from_s3_bucket , recursive_subfolders
25292529 )
2530- if not annotation_paths :
2531- raise AppException (
2532- "Could not find annotations matching existing items on the platform."
2533- )
25342530 logger .info (
25352531 f"Uploading { len (annotation_paths )} annotations from { folder_path } to the project { project_folder_name } ."
25362532 )
Original file line number Diff line number Diff line change @@ -253,10 +253,6 @@ def execute(self):
253253 [annotation .path for annotation in self ._missing_annotations ],
254254 )
255255 self ._log_report ()
256- else :
257- self ._response .errors = (
258- "Could not find annotations matching existing items on the platform."
259- )
260256 return self ._response
261257
262258
You can’t perform that action at this time.
0 commit comments