From dc0d182a0b9328cfdd992b92b75943db9701f93e Mon Sep 17 00:00:00 2001 From: Sylvain <35365065+sanderegg@users.noreply.github.com> Date: Wed, 4 Sep 2024 00:04:17 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Backend=20part=20of=20UX=20impro?= =?UTF-8?q?vements=20(#6297)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/storage/src/simcore_service_storage/s3_utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/services/storage/src/simcore_service_storage/s3_utils.py b/services/storage/src/simcore_service_storage/s3_utils.py index 14b87669bde..72bb0362f1f 100644 --- a/services/storage/src/simcore_service_storage/s3_utils.py +++ b/services/storage/src/simcore_service_storage/s3_utils.py @@ -39,8 +39,7 @@ def _update(self) -> None: update_task_progress( self.task_progress, f"{self.task_progress_message_prefix} - " - f"{parse_obj_as(ByteSize,self._total_bytes_copied).human_readable()}" - f"/{self.total_bytes_to_transfer.human_readable()}]", + f"{self.total_bytes_to_transfer.human_readable()}", ProgressPercent( min(self._total_bytes_copied, self.total_bytes_to_transfer) / (self.total_bytes_to_transfer or 1)