Fix error

This commit is contained in:
Mike Cifelli 2021-06-17 10:15:40 -04:00
parent b0bcba2e8a
commit 123ecbb8a5
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ class SystemStatus:
for y in range(value):
self.hat.set_pixel(x, y, *color)
for y in range(value, self.height):
self.hat.set_pixel(x, y, BLACK)
self.hat.set_pixel(x, y, *BLACK)
def getTempValue(self):
temp = psutil.sensors_temperatures()['cpu_thermal'][0].current