Skip to content

Commit b67d6d1

Browse files
committed
Update download progress message format to display total file size
1 parent aac7479 commit b67d6d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bot_package/downloader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def download_progress_hook(d):
149149
f"{dl_text}\n"
150150
f"**By:** {user_mention}\n**User ID:** `{user_id}`\n\n"
151151
f"**Progress:** {progress_bar} {percentage_float:.1f}%\n"
152-
f"`{downloaded_mb:.2f} MB / {total_mb:.2f} MB`\n"
152+
f"File Size: `{total_mb:.2f} MB`\n"
153153
)
154154

155155
# Schedule the edit_status_message coroutine on the main event loop

0 commit comments

Comments
 (0)