mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-09 00:14:50 +00:00
Use Python's standard sockets in case of no proxy
This commit is contained in:
parent
deb560a051
commit
f12005b5d0
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ class TCP:
|
||||||
|
|
||||||
log.info(f"Using proxy {hostname}")
|
log.info(f"Using proxy {hostname}")
|
||||||
else:
|
else:
|
||||||
self.socket = socks.socksocket(
|
self.socket = socket.socket(
|
||||||
socket.AF_INET6 if ipv6
|
socket.AF_INET6 if ipv6
|
||||||
else socket.AF_INET
|
else socket.AF_INET
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue