From 1c8a146b63e9123cc8ccfa2fcd06af9d6d144ef9 Mon Sep 17 00:00:00 2001 From: Azalea Gui <22280294+hykilpikonna@users.noreply.github.com> Date: Mon, 7 Oct 2024 16:53:04 -0400 Subject: [PATCH] [O] Better formatting --- scripts/bin/tmux-tool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/bin/tmux-tool.py b/scripts/bin/tmux-tool.py index 060ba96..1ef21d3 100755 --- a/scripts/bin/tmux-tool.py +++ b/scripts/bin/tmux-tool.py @@ -80,7 +80,7 @@ def get_hardware_info(cpu=False, gpu=False): gpu_str = re.sub(r'lite hash rate', 'LHR', gpu_str, flags=re.IGNORECASE) # Remove manufacturer keywords - kw = ['Intel', 'AMD', 'NVIDIA', 'GeForce', 'Radeon', '(R)', 'Series', 'Processor', 'Graphics', 'GPU', 'CPU', ',', 'Inc', '.', 'Family'] + kw = ['Intel', 'AMD', 'NVIDIA', 'GeForce', 'Radeon', '(R)', 'Series', 'Processor', 'Graphics', 'GPU', 'CPU', ',', 'Inc', ' .', '. ', 'Family'] def norm(str) -> str: for k in kw: str = str.replace(k, '')