mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 05:18:10 +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)))
|
datetime.now(), type(data)))
|
||||||
|
|
||||||
time.sleep(0.5)
|
time.sleep(0.5)
|
||||||
self.send(data, retries - 1)
|
return self.send(data, retries - 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user