Skip to content

Commit

Permalink
fix - adding return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
jjpaulo2 committed Oct 2, 2024
1 parent 0204d4b commit 1489a0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion function/telegram/sender.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ async def _send_image(self, message: TelegramMessage):
raise exc

except BadRequest:
await self._send_message(message)
return await self._send_message(message)

async def _send_album(self, message: TelegramMessage):
for index, token in enumerate(self.tokens):
Expand Down

0 comments on commit 1489a0c

Please sign in to comment.