From a6a055a8370e74e53950d072ff63cf524595fe91 Mon Sep 17 00:00:00 2001 From: xinzish Date: Thu, 13 Nov 2025 15:49:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E6=A8=A1=E6=8B=9F=E8=AE=A1?= =?UTF-8?q?=E7=AE=97=E8=BF=87=E7=A8=8B=E4=B8=AD=E7=9A=84=E8=AE=A1=E7=AE=97?= =?UTF-8?q?=E7=BB=93=E6=9E=9C=E5=B1=8F=E5=B9=95=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- epanet/epanet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/epanet/epanet.py b/epanet/epanet.py index 8d67e59..82863d5 100644 --- a/epanet/epanet.py +++ b/epanet/epanet.py @@ -298,7 +298,7 @@ def run_project(name: str, readable_output: bool = False) -> str: # DingZQ, 2025-06-02, 使用subprocess.Popen捕获输出到全局日志, 原来的代码是这么写的 result = os.system(command) - logging.info(f"Simulation result: {result}") + #logging.info(f"Simulation result: {result}") if result != 0: data['simulation_result'] = 'failed' @@ -315,7 +315,7 @@ def run_project(name: str, readable_output: bool = False) -> str: data['output'] = dump_output_binary(opt) data['report'] = dump_report(rpt) - logging.info(f"Report: {data['report']}") + #logging.info(f"Report: {data['report']}") return json.dumps(data)