From 3cf0709dd8d9cd5cd8701a177035853df96f993d Mon Sep 17 00:00:00 2001 From: Dunestorm Date: Mon, 27 Jan 2025 00:24:57 +0000 Subject: [PATCH] LiquidGUI [1.3.0.0] - Round psutil result by 2 decimal places. --- sys_vitals_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys_vitals_helper.py b/sys_vitals_helper.py index a6cd470..8c29e89 100644 --- a/sys_vitals_helper.py +++ b/sys_vitals_helper.py @@ -14,4 +14,4 @@ class SysVitals_Helper(): if component.value[0] in temps: for entry in temps[component.value[0]]: if entry.label == component.value[1]: - return entry.current \ No newline at end of file + return round(entry.current, 2) \ No newline at end of file