From 87af2875f9c455880c1626362fe9290863efae20 Mon Sep 17 00:00:00 2001 From: aristocratos Date: Sun, 25 Oct 2020 01:32:13 +0200 Subject: [PATCH] Coretemp toggle fix --- bpytop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bpytop.py b/bpytop.py index 2fadbf3..0bd79ea 100755 --- a/bpytop.py +++ b/bpytop.py @@ -1689,7 +1689,7 @@ class CpuBox(Box, SubBox): x, y, w, h = cls.x + 1, cls.y + 1, cls.width - 2, cls.height - 2 bx, by, bw, bh = cls.box_x + 1, cls.box_y + 1, cls.box_width - 2, cls.box_height - 2 hh: int = ceil(h / 2) - hide_cores: bool = cpu.cpu_temp_only or not CONFIG.show_coretemp + hide_cores: bool = (cpu.cpu_temp_only or not CONFIG.show_coretemp) and cpu.got_sensors if cls.resized or cls.redraw: if not "m" in Key.mouse: