From 18c65b72990f7ebcc771e746af0a5478ece430af Mon Sep 17 00:00:00 2001 From: Shekar V Date: Thu, 7 Mar 2024 13:43:03 -0500 Subject: [PATCH] Fixed typo --- gui/control_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/control_main.py b/gui/control_main.py index bcb9de38..404c5f71 100644 --- a/gui/control_main.py +++ b/gui/control_main.py @@ -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;")