mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 12:57:52 +00:00
Fix send() not returning the value in case of a retry
This commit is contained in:
parent
d6448c2044
commit
b59212dbf2
@ -414,4 +414,4 @@ class Session:
|
||||
datetime.now(), type(data)))
|
||||
|
||||
time.sleep(0.5)
|
||||
self.send(data, retries - 1)
|
||||
return self.send(data, retries - 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user