We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1807e7e commit f86418dCopy full SHA for f86418d
RpiInternalSensors.py
@@ -4,7 +4,7 @@ class RpiInternalSensors:
4
5
def get_cpu_temp(self, fahrenheit=False):
6
lines = subprocess.check_output(["vcgencmd", "measure_temp"])
7
- temp = float(self.parse_lines(lines)['temp'][:-2])
+ temp = float(self._parse_lines(lines)['temp'][:-2])
8
9
if fahrenheit:
10
temp = ((temp * 9.0)/5.0) + 32
0 commit comments