Fix error
This commit is contained in:
parent
b0bcba2e8a
commit
123ecbb8a5
|
@ -53,7 +53,7 @@ class SystemStatus:
|
||||||
for y in range(value):
|
for y in range(value):
|
||||||
self.hat.set_pixel(x, y, *color)
|
self.hat.set_pixel(x, y, *color)
|
||||||
for y in range(value, self.height):
|
for y in range(value, self.height):
|
||||||
self.hat.set_pixel(x, y, BLACK)
|
self.hat.set_pixel(x, y, *BLACK)
|
||||||
|
|
||||||
def getTempValue(self):
|
def getTempValue(self):
|
||||||
temp = psutil.sensors_temperatures()['cpu_thermal'][0].current
|
temp = psutil.sensors_temperatures()['cpu_thermal'][0].current
|
||||||
|
|
Loading…
Reference in New Issue