Update bot_utils.py

This commit is contained in:
Hafitz Setya 2021-03-09 18:22:36 +07:00 committed by GitHub
parent 0fd996955c
commit 7a9dc87e9e
Signed by untrusted user: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,7 +104,7 @@ def get_readable_message():
msg += f"\n<b>Speed :</b> {download.speed()}, \n<b>ETA:</b> {download.eta()} "
# if hasattr(download, 'is_torrent'):
try:
msg += f"\n<b>Info :- Seeders:</b> {download.aria_download().num_seeders}" \
msg += f"\n<b>Info:- Seeders:</b> {download.aria_download().num_seeders}" \
f" & <b>Peers :</b> {download.aria_download().connections}"
except:
pass