Skip to content

Commit 41f07b7

Browse files
Vaghinak BasentsyanVaghinak Basentsyan
authored andcommitted
Fixed progress bar
1 parent ad59d6e commit 41f07b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/superannotate/lib/core/usecases/annotations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def execute(self):
209209
iterations_range = range(
210210
0, len(self.annotations_to_upload), self.AUTH_DATA_CHUNK_SIZE
211211
)
212-
self.reporter.start_progress(iterations_range, description="Uploading Annotations")
212+
self.reporter.start_progress(len(self.annotations_to_upload), description="Uploading Annotations")
213213
for step in iterations_range:
214214
annotations_to_upload = self.annotations_to_upload[step : step + self.AUTH_DATA_CHUNK_SIZE] # noqa: E203
215215
upload_data = self.get_annotation_upload_data(

0 commit comments

Comments
 (0)