Fix incorrect variable
This commit is contained in:
parent
2a96a94a29
commit
c64e3841a4
@ -266,7 +266,7 @@ class Thermal(PddfThermal):
|
||||
A float number, the maximum recorded temperature of thermal in Celsius
|
||||
up to nearest thousandth of one degree Celsius, e.g. 30.125
|
||||
"""
|
||||
if self.min_temperature is None:
|
||||
if self.max_temperature is None:
|
||||
self.get_temperature()
|
||||
|
||||
return self.max_temperature
|
||||
|
Reference in New Issue
Block a user