Skip to content

Commit

Permalink
Auto-format code [skip actions]
Browse files Browse the repository at this point in the history
  • Loading branch information
5hojib committed Sep 21, 2024
1 parent 9c4b495 commit 39ed763
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bot/helper/mirror_leech_utils/telegram_uploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,9 @@ async def _copy_message(self):
async def _copy(target, retries=3):
for attempt in range(retries):
try:
msg = await bot.get_messages(self._listener.upDest, self._sent_msg.id)
msg = await bot.get_messages(
self._listener.upDest, self._sent_msg.id
)
await msg.copy(target)
return
except Exception as e:
Expand Down

0 comments on commit 39ed763

Please sign in to comment.