fix flake8 ofcommunication line len

master
Kevin Froman 2019-12-18 04:07:20 -06:00
parent aa51a2fea6
commit 9707d5e320
1 changed files with 2 additions and 1 deletions

View File

@ -36,7 +36,8 @@ def detect_socket_leaks(socket_event):
ipaddress.ip_address(ip_address)
except ValueError:
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