Skip to content

Commit

Permalink
update telegram_uploader.py
Browse files Browse the repository at this point in the history
  • Loading branch information
5hojib committed Sep 18, 2024
1 parent 54025a3 commit 62ab10f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/helper/mirror_leech_utils/telegram_uploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ async def _copy_message(self):
async def copy(target, retries=2):
for attempt in range(retries):
try:
await msg.copyf(target)
await msg.copy(target)
return
except Exception as e:
LOGGER.error(f"Attempt {attempt + 1} failed: {e} {msg.id}")
Expand Down

0 comments on commit 62ab10f

Please sign in to comment.