From 0ee8091e0da394a461ce3efff501cb9e3880b3aa Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Sat, 29 Jun 2024 01:02:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E4=B8=8B=E4=BD=8E?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=85=BC=E5=AE=B9=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ica-rs/plugins/base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ica-rs/plugins/base.py b/ica-rs/plugins/base.py index df41989..4c6a585 100644 --- a/ica-rs/plugins/base.py +++ b/ica-rs/plugins/base.py @@ -20,7 +20,8 @@ def local_env_info() -> str: # 参考 DR 的 (crash report) cache.write(f"系统: {platform.platform()}\n") # 处理器 - cache.write(f"{"|".join([f"{x}%" for x in psutil.cpu_percent(interval=1, percpu=True)])}\n") + cache.write("|".join([f"{x}%" for x in psutil.cpu_percent(interval=1, percpu=True)])) + cache.write("\n") # Python 版本信息 cache.write(f"{platform.python_implementation()}: {platform.python_version()}-{platform.python_branch()}({platform.python_compiler()})\n") # 内存信息