From 20079d416cd49b626ddccc62395ec6b96b2b136d Mon Sep 17 00:00:00 2001 From: Blergo Date: Tue, 2 Jul 2024 11:35:55 +0100 Subject: [PATCH] testing server stats --- command_handlers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/command_handlers.py b/command_handlers.py index e25c6e4..84a8d5c 100644 --- a/command_handlers.py +++ b/command_handlers.py @@ -116,7 +116,8 @@ def handle_stats_steps(sender_id, message, step, interface, bbs_nodes): update_user_state(sender_id, {'command': 'STATS', 'step': 2}) if choice == 1: cpu = psutil.cpu_percent() - response = "CPU: " + print(cpu) + response = "CPU: " + print(cpu) send_message(response, sender_id, interface) handle_stats_command(sender_id, interface) return