From bdc57a91c9f7e334d1785bfac5f1e923b5dc581d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E5=89=8D=E6=98=8E?= <909355014@qq.com> Date: Thu, 27 Oct 2022 21:49:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AA=E7=A9=BF=E9=98=B2=E7=83=AB=E6=9C=8D?= =?UTF-8?q?=E4=BA=8B=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/ai/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ai/client.py b/apps/ai/client.py index ce837539..faddf36e 100644 --- a/apps/ai/client.py +++ b/apps/ai/client.py @@ -90,7 +90,7 @@ def fangtangfu(ip: str, pic_url: str): image_id = 4 request = BeiHangGrpc_pb2.JinYu_Request(zzid=image_id, imgUrl=pic_url) response = stub.sendFA_Info(request) - if response.FAinfo == False: + if response.FAinfo is False: return True, response return False, response