diff --git a/bot.py b/bot.py index 84b3c99..0b5c4b6 100644 --- a/bot.py +++ b/bot.py @@ -1465,7 +1465,7 @@ def torList(torrents, author_name="Torrent Transfers",title=None,description=Non down = humanbytes(t.progress * 0.01 * t.totalSize) out = "{} {} {} {} ".format(stateEmoji[t.status],errorStrs[t.error],'šŸš€' if t.rateDownload + t.rateUpload > 0 else '🐢' if t.isStalled else 'šŸ‡', 'šŸ”' if t.isPrivate else 'šŸ”“') if t.status == 'downloading': - out += "{:.1f}% of {} ā¬ {} {}/s ā¬‡ļø *{}/s* ā¬†ļø *{:.2f}* āš–ļø".format(t.progress, humanbytes(t.totalSize, d=1), '' if eta <= 0 else 'ā³ {} @ '.format(humanseconds(eta)), humanbytes(t.rateDownload), humanbytes(t.rateUpload), t.uploadRatio) + out += "{:.1f}% of {} ā¬ {} {}/s ā¬‡ļø *{}/s* ā¬†ļø *{:.2f}* āš–ļø".format(t.progress, humanbytes(t.totalSize, d=1), '' if eta <= 0 else '\nā³ {} @ '.format(humanseconds(eta)), humanbytes(t.rateDownload), humanbytes(t.rateUpload), t.uploadRatio) elif t.status == 'seeding': out += "{} ā¬ *{}/s* ā¬†ļø *{:.2f}* āš–ļø".format(humanbytes(t.totalSize, d=1), humanbytes(t.rateUpload), t.uploadRatio) elif t.status == 'stopped':