提交 1a355b65 编写于 作者: H HexToString

fix bug

上级 d8f23f28
......@@ -215,7 +215,7 @@ class HttpClient(object):
if self.use_grpc_client:
self.init_grpc_stub()
def check_ip(ipAddr):
def check_ip(self, ipAddr):
compile_ip = re.compile(
'^(1\d{2}|2[0-4]\d|25[0-5]|[1-9]\d|[1-9])\.(1\d{2}|2[0-4]\d|25[0-5]|[1-9]\d|\d)\.(1\d{2}|2[0-4]\d|25[0-5]|[1-9]\d|\d)\.(1\d{2}|2[0-4]\d|25[0-5]|[1-9]\d|\d)$'
)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册