From 25238f300729d88a2c3af90c7735900caae00889 Mon Sep 17 00:00:00 2001 From: Blergo Date: Tue, 2 Jul 2024 20:58:09 +0100 Subject: [PATCH] fixed last server stats stuff --- command_handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command_handlers.py b/command_handlers.py index c8bbd67..c2450a4 100644 --- a/command_handlers.py +++ b/command_handlers.py @@ -105,7 +105,7 @@ def handle_stats_steps(sender_id, message, step, interface, bbs_nodes): cpu = str(psutil.cpu_freq()) la = str(psutil.getloadavg()) ramu = str(psutil.virtual_memory().percent) - response = "CPU: " + cpu + "\nLoad " la "\nRAM: " + ramu + "% Used" + response = "CPU: " + cpu + "\nLoad " + la + "\nRAM: " + ramu + "% Used" send_message(response, sender_id, interface) handle_stats_command(sender_id, interface) return