Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
vshekar committed Mar 7, 2024
1 parent efd0ae1 commit 18c65b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/control_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2076,7 +2076,7 @@ def processGripTemp(self, gripVal):
gripValKelvin = gripVal + 273.15
gripValMaxKelvin = 103.15 # -170 in degC
self.gripperTempLabel.setText("%.1f" % gripValKelvin)
if int(gripVal) > gripValMaxKelvin:
if gripValKelvin > gripValMaxKelvin:
self.gripperTempLabel.setStyleSheet("background-color: red;")
else:
self.gripperTempLabel.setStyleSheet("background-color: #99FF66;")
Expand Down

0 comments on commit 18c65b7

Please sign in to comment.