fixed missing space in Ram usage message

This commit is contained in:
Blergo 2024-07-02 18:47:56 +01:00
parent 5fdc0f5590
commit a69b0b0602

View file

@ -115,7 +115,7 @@ def handle_stats_steps(sender_id, message, step, interface, bbs_nodes):
time.sleep(0.1)
cpu = str(psutil.cpu_percent()/psutil.cpu_count())
ram = str(psutil.virtual_memory().percent)
response = "CPU: " + cpu + "%\nRAM:" + ram + "%"
response = "CPU: " + cpu + "%\nRAM: " + ram + "%"
send_message(response, sender_id, interface)
handle_stats_command(sender_id, interface)
return