From 28add64ae0fb46cc729fa56ae333f8fdb64df544 Mon Sep 17 00:00:00 2001 From: snowy-yang <102860110+snowy-yang@users.noreply.github.com> Date: Sat, 12 Sep 2026 19:50:14 +0800 Subject: [PATCH] fix: duplicate percent sign in disk template --- pyproject.toml | 2 +- templates/status.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index fe6c535..dbf951b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,4 +26,4 @@ requires = ["setuptools>=75"] build-backend = "setuptools.build_meta" [tool.setuptools] -py-modules = ["bot", "onebot", "monitor", "alerter"] +py-modules = ["bot", "onebot", "monitor", "alerter", "templates"] diff --git a/templates/status.txt b/templates/status.txt index 96657a1..f713eb9 100644 --- a/templates/status.txt +++ b/templates/status.txt @@ -4,5 +4,5 @@ CPU: {cpu_total} / {cpu_max} (单核均值 {cpu_avg}%) 核心 {cores} 负载 { 内存: {memory} 最高温度: {temp} 网络: {net} -磁盘 {disk_mount}: {disk_used} ({disk_percent}%) +磁盘 {disk_mount}: {disk_used} ({disk_percent}) 运行: {uptime}