mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-01 13:14:52 +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}")
|
||||
else:
|
||||
self.socket = socks.socksocket(
|
||||
self.socket = socket.socket(
|
||||
socket.AF_INET6 if ipv6
|
||||
else socket.AF_INET
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue