Skip to content

Commit

Permalink
Change min/max range to float
Browse files Browse the repository at this point in the history
  • Loading branch information
seehase committed Aug 21, 2022
1 parent 7373ced commit bdf74c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/user/historygenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ def _colorCell(self, value, format_string, bgColours):
cellText = "<td"

for c in bgColours:
if (value >= 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
Expand Down

0 comments on commit bdf74c4

Please sign in to comment.