mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-13 04:56:35 +03:00
Fix broken debug call
This commit is contained in:
parent
d462b04a9c
commit
4a491e45ce
|
@ -311,7 +311,7 @@ class MTProtoSender:
|
||||||
while not any(m.future.cancelled() for m in messages):
|
while not any(m.future.cancelled() for m in messages):
|
||||||
try:
|
try:
|
||||||
async with self._send_lock:
|
async with self._send_lock:
|
||||||
__log__.debug('Sending {} bytes...', len(body))
|
__log__.debug('Sending {} bytes...'.format(len(body)))
|
||||||
await self._connection.send(body)
|
await self._connection.send(body)
|
||||||
break
|
break
|
||||||
# TODO Are there more exceptions besides timeout?
|
# TODO Are there more exceptions besides timeout?
|
||||||
|
|
Loading…
Reference in New Issue
Block a user