2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-10-11 14:06:31 +00:00

Reformat code

This commit is contained in:
Dan
2018-06-30 11:04:17 +02:00
parent 984e989a4b
commit aa800c3ebc

View File

@@ -42,10 +42,11 @@ class TCP:
self.lock = asyncio.Lock()
self.socket = socks.socksocket()
self.socket.settimeout(TCP.TIMEOUT)
self.reader = None # type: asyncio.StreamReader
self.writer = None # type: asyncio.StreamWriter
self.socket.settimeout(TCP.TIMEOUT)
self.proxy_enabled = proxy.get("enabled", False)
if proxy and self.proxy_enabled: