Skip to content

Commit

Permalink
Fix error cache
Browse files Browse the repository at this point in the history
  • Loading branch information
vuisme authored and BennyThink committed Dec 24, 2022
1 parent 9b9da44 commit c17cad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ytdlbot/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ def gen_cap(bm, url, video_path):
)
remain = bot_text.remaining_quota_caption(chat_id)
worker = get_dl_source()
cap = f"{user_info}\n`{file_name}`\n\n{url}\n\nInfo: {meta['width']}x{meta['height']} {file_size}\t" \
cap = f"{user_info}\n{file_name}\n\n{url}\n\nInfo: {meta['width']}x{meta['height']} {file_size}\t" \
f"{meta['duration']}s\n{remain}\n{worker}\n{bot_text.custom_text}"
return cap, meta

Expand Down

0 comments on commit c17cad6

Please sign in to comment.