mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 12:59:46 +00:00
Fix invoke not raising ValueError when retries reach 0
This commit is contained in:
@@ -410,7 +410,6 @@ class TelegramBareClient:
|
||||
if result:
|
||||
return result
|
||||
|
||||
if retries <= 0:
|
||||
raise ValueError('Number of retries reached 0.')
|
||||
finally:
|
||||
if sender != self._sender:
|
||||
|
Reference in New Issue
Block a user