From 5256d3c718b48e60dc80e291adc17eafe8e55346 Mon Sep 17 00:00:00 2001 From: Rock Chin <1010553892@qq.com> Date: Sun, 8 Jan 2023 16:33:33 +0800 Subject: [PATCH] =?UTF-8?q?debug:=20=E5=88=A0=E9=99=A4=E4=B8=8A=E6=8A=A5?= =?UTF-8?q?=E8=B0=83=E8=AF=95=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/audit/gatherer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/audit/gatherer.py b/pkg/audit/gatherer.py index 9ec9581e..4d9738d1 100644 --- a/pkg/audit/gatherer.py +++ b/pkg/audit/gatherer.py @@ -34,7 +34,7 @@ class DataGatherer: config = pkg.utils.context.get_config() if hasattr(config, "report_usage") and not config.report_usage: return - print("http://rockchin.top:18989/usage?service_name=qchatgpt.{}&version={}&count={}".format(subservice_name, self.version_str, count)) + # print("http://rockchin.top:18989/usage?service_name=qchatgpt.{}&version={}&count={}".format(subservice_name, self.version_str, count)) res = requests.get("http://rockchin.top:18989/usage?service_name=qchatgpt.{}&version={}&count={}".format(subservice_name, self.version_str, count)) if res.status_code != 200 or res.text != "ok": logging.warning("report to server failed, status_code: {}, text: {}".format(res.status_code, res.text))