Merge pull request #500 from PolarNick239/patch-1
gpu_temp: setting "display_if" default value fixed
This commit is contained in:
commit
6100c8e4d0
@ -24,7 +24,7 @@ class GPUTemperature(IntervalModule):
|
|||||||
color = "#FFFFFF"
|
color = "#FFFFFF"
|
||||||
alert_temp = 90
|
alert_temp = 90
|
||||||
alert_color = "#FF0000"
|
alert_color = "#FF0000"
|
||||||
display_if = True
|
display_if = 'True'
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
temp = gpu.query_nvidia_smi().temp
|
temp = gpu.query_nvidia_smi().temp
|
||||||
|
Loading…
Reference in New Issue
Block a user