Fix bad merge after editing tcp.py

This commit is contained in:
Dan 2018-09-22 19:41:33 +02:00
parent 41acdd4d63
commit 8070bf4cd4

View File

@ -17,9 +17,9 @@
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
import asyncio
import ipaddress
import logging
import socket
import ipaddress
try:
import socks
@ -69,7 +69,7 @@ class TCP:
log.info("Using proxy {}:{}".format(hostname, port))
else:
super().__init__(
self.socket = socks.socksocket(
socket.AF_INET6 if ipv6
else socket.AF_INET
)