Merge pull request #394 from amtoaer/main

This commit is contained in:
jxxghp 2023-09-02 16:06:36 +08:00 committed by GitHub
commit 68a3bc8732
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,