syntax error bad parentheses

This commit is contained in:
Jeremy McMillan 2019-01-10 16:19:51 -06:00 committed by Pedro Algarvio
parent 24bb94fb9e
commit 27254fce37

View File

@ -1893,7 +1893,7 @@ def dns_check(addr, port, safe=False, ipv6=None):
try:
s = socket.socket(h[0], socket.SOCK_STREAM)
s.connect((candidate_addr), port))
s.connect(candidate_addr, port)
s.close()
resolved = candidate_addr