Log info when using a proxy

This commit is contained in:
Dan 2018-02-21 13:34:27 +01:00
parent efbd052ec3
commit 8e538199ea

View File

@ -44,6 +44,11 @@ class TCP(socks.socksocket):
password=proxy.password
)
log.info("Using proxy {}:{}".format(
proxy.hostname,
proxy.port
))
def close(self):
try:
self.shutdown(socket.SHUT_RDWR)