Fix file transfers on win32.
This commit is contained in:
parent
64ee7c14a7
commit
04725e830c
|
@ -899,6 +899,9 @@ class Socks5Receiver(Socks5, IdleObject):
|
|||
|
||||
def connect(self):
|
||||
''' create the socket and plug it to the idlequeue '''
|
||||
if self.ais == None:
|
||||
return None
|
||||
|
||||
for ai in self.ais:
|
||||
try:
|
||||
self._sock=socket.socket(*ai[:3])
|
||||
|
|
Loading…
Reference in New Issue