debug output
This commit is contained in:
parent
5bd561e64f
commit
46eba991e4
1 changed files with 4 additions and 1 deletions
|
@ -40,6 +40,9 @@ def create_tor_connection(address, timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
|
|||
proto = 6
|
||||
sa = address
|
||||
sock = None
|
||||
|
||||
logger.debug('make tor connection to: %s', address)
|
||||
|
||||
try:
|
||||
sock = socks.socksocket(af, socktype, proto)
|
||||
if timeout is not socket._GLOBAL_DEFAULT_TIMEOUT:
|
||||
|
|
Loading…
Reference in a new issue