From 1a355b655a0f00c5567969533ed52008b37d0d69 Mon Sep 17 00:00:00 2001 From: HexToString <506181616@qq.com> Date: Mon, 30 Aug 2021 12:46:59 +0000 Subject: [PATCH] fix bug --- python/paddle_serving_client/httpclient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle_serving_client/httpclient.py b/python/paddle_serving_client/httpclient.py index 46e98227..27ed269d 100755 --- a/python/paddle_serving_client/httpclient.py +++ b/python/paddle_serving_client/httpclient.py @@ -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)$' ) -- GitLab