Skip to content

Commit

Permalink
Update download_aria_p_n.py
Browse files Browse the repository at this point in the history
WTF 😐 i don't know why ERROR
In this Line 🤔
  • Loading branch information
MaxxRider authored Nov 1, 2020
1 parent a7c0ce4 commit 5341c5c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tobrot/helper_funcs/download_aria_p_n.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,16 +450,16 @@ async def check_progress_for_dl(aria2, gid, event, previous_message):
if is_file is None :
msg += f"\n<b>○Connections:</b> {file.connections}"
else :
msg += f"\n<b>○Peers:</b> <code>{file.connections}</code> || <b>○Seeders:</b> <code>{file.num_seeders}</code>"
msg += f"\n<b>○Peers:</b> <code>{file.connections}</code> | <b>○ Seeders:</b> <code>{file.num_seeders}</code>"

# msg += f"\n<b>○Status:</b> {file.status}"
msg += f"\n<b>○Left:</b> {file.eta_string()}"
msg += f"\n<b>○GID:</b> <code>{gid}</code>\n\n<b>©:📭Please Do One By One</b>"
msg += f"\n<b>○GID:</b> <code>{gid}</code>\n\n<b>©:@MAXXBOTS || @MDH_HINDI</b>"
inline_keyboard = []
ikeyboard = []
ikeyboard.append(InlineKeyboardButton("📍Cancel Processing ⛔", callback_data=(f"cancel {gid}").encode("UTF-8")))
inline_keyboard.append(ikeyboard)
reply_markup = InlineKeyboardMarkup(inline_keyboard
reply_markup = InlineKeyboardMarkup(inline_keyboard)
#msg += reply_markup
LOGGER.info(msg)
if msg != previous_message:
Expand Down

0 comments on commit 5341c5c

Please sign in to comment.