Skip to content

Commit f86418d

Browse files
committed
Fix a minor bug after a rename in vim
1 parent 1807e7e commit f86418d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RpiInternalSensors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class RpiInternalSensors:
44

55
def get_cpu_temp(self, fahrenheit=False):
66
lines = subprocess.check_output(["vcgencmd", "measure_temp"])
7-
temp = float(self.parse_lines(lines)['temp'][:-2])
7+
temp = float(self._parse_lines(lines)['temp'][:-2])
88

99
if fahrenheit:
1010
temp = ((temp * 9.0)/5.0) + 32

0 commit comments

Comments
 (0)