2
0
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:
Dan 2018-04-18 17:19:42 +02:00
parent d6448c2044
commit b59212dbf2

View File

@ -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)