fix flake8 ofcommunication line len
This commit is contained in:
parent
aa51a2fea6
commit
9707d5e320
@ -36,7 +36,8 @@ def detect_socket_leaks(socket_event):
|
|||||||
ipaddress.ip_address(ip_address)
|
ipaddress.ip_address(ip_address)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
logger.warn(f'Conn made to {ip_address} outside of Tor/similar')
|
logger.warn(f'Conn made to {ip_address} outside of Tor/similar')
|
||||||
raise NetworkLeak('Conn to non local IP, this is a privacy concern!')
|
raise \
|
||||||
|
NetworkLeak('Conn to host/non local IP, this is a privacy issue!')
|
||||||
|
|
||||||
# Validate that the IP is localhost ipv4
|
# Validate that the IP is localhost ipv4
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user