diff --git a/bin/user/historygenerator.py b/bin/user/historygenerator.py index d945ff0..c462f40 100644 --- a/bin/user/historygenerator.py +++ b/bin/user/historygenerator.py @@ -314,7 +314,7 @@ def _colorCell(self, value, format_string, bgColours): cellText = "= int(c[0])) and (value <= int(c[1])): + if (value >= float(c[0])) and (value <= float(c[1])): cellText += " bgcolor = \"%s\"" % c[2] formatted_value = format_string % value