Skip to content

Commit

Permalink
Fix incorrect variable
Browse files Browse the repository at this point in the history
  • Loading branch information
roger530-ho committed Apr 13, 2023
1 parent 6f10fff commit 0563149
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ def get_maximum_recorded(self):
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

0 comments on commit 0563149

Please sign in to comment.