Fix a bug

This commit is contained in:
tangdou1 2019-01-24 10:00:18 +08:00 committed by GitHub
parent 0d3c403f08
commit 76e21a6378
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,7 +62,7 @@ class PeerPortchecker(object):
"%s check error: %s in %.3fs" % "%s check error: %s in %.3fs" %
(func_name, Debug.formatException(err), time.time() - s) (func_name, Debug.formatException(err), time.time() - s)
) )
res = {"ip": None, "opened": True} res = {"ip": None, "opened": False}
return res return res