From ba2745266a57b36cd8deb89e76fb5776e74e7437 Mon Sep 17 00:00:00 2001 From: amtoaer Date: Sat, 2 Sep 2023 16:03:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E4=B8=AD=E7=99=BE=E5=88=86=E6=AF=94=E5=A4=9A=E4=B9=98=E4=BA=86?= =?UTF-8?q?=20100=20=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/chain/download.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/chain/download.py b/app/chain/download.py index 5aec6421..a44554f9 100644 --- a/app/chain/download.py +++ b/app/chain/download.py @@ -646,7 +646,7 @@ class DownloadChain(ChainBase): for torrent in torrents: messages.append(f"{index}. {torrent.title} " f"{StringUtils.str_filesize(torrent.size)} " - f"{round(torrent.progress * 100, 1)}%") + f"{round(torrent.progress, 1)}%") index += 1 self.post_message(Notification( channel=channel, mtype=NotificationType.Download,