mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2026-09-08 01:41:59 +00:00
Optimize imports
This commit is contained in:
@@ -118,10 +118,6 @@ class Connection:
|
||||
def close(self):
|
||||
self.conn.close()
|
||||
|
||||
def get_client_delay(self):
|
||||
"""Gets the client read delay"""
|
||||
return self.conn.delay
|
||||
|
||||
# region Receive message implementations
|
||||
|
||||
def recv(self):
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import gzip
|
||||
from threading import RLock, Thread
|
||||
import logging
|
||||
from threading import RLock
|
||||
|
||||
from .. import helpers as utils
|
||||
from ..crypto import AES
|
||||
from ..errors import BadMessageError, InvalidDCError, rpc_message_to_error
|
||||
from ..errors import BadMessageError, rpc_message_to_error
|
||||
from ..extensions import BinaryReader, BinaryWriter
|
||||
from ..tl.all_tlobjects import tlobjects
|
||||
from ..tl.types import MsgsAck
|
||||
from ..extensions import BinaryReader, BinaryWriter
|
||||
|
||||
import logging
|
||||
logging.getLogger(__name__).addHandler(logging.NullHandler())
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user