From 09606007f3d0f974a5e4662bfa961b7519ffcdf6 Mon Sep 17 00:00:00 2001 From: Hristo Jelev Date: Tue, 5 Oct 2021 00:30:44 +0300 Subject: [PATCH] remove commented cpu temp command --- src/rpi-cpu2mqtt.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/rpi-cpu2mqtt.py b/src/rpi-cpu2mqtt.py index e5f5553..224582d 100644 --- a/src/rpi-cpu2mqtt.py +++ b/src/rpi-cpu2mqtt.py @@ -52,7 +52,6 @@ def check_memory(): return memory def check_cpu_temp(): - #full_cmd = "vcgencmd measure_temp" full_cmd = "cat /sys/class/thermal/thermal_zone*/temp | sed 's/\(.\)..$//' | tail -n 1" try: p = subprocess.Popen(full_cmd, shell=True, stdout=subprocess.PIPE).communicate()[0]