Formatting

This commit is contained in:
shortcutme 2019-01-20 16:31:41 +01:00
parent 42156edc76
commit 9a64b6080d
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -57,7 +57,7 @@ class PeerPortchecker(object):
(port, ip_type, func_name, res, time.time() - s) (port, ip_type, func_name, res, time.time() - s)
) )
time.sleep(0.1) time.sleep(0.1)
if res["opened"] and not self.file_server.had_external_incoming: if res["opened"] and not self.file_server.had_external_incoming:
res["opened"] = False res["opened"] = False
self.log.warning("Port %s:%s, but no incoming connection" % (res["ip"], port)) self.log.warning("Port %s:%s, but no incoming connection" % (res["ip"], port))
break break