I like my points to float
This commit is contained in:
parent
68fc2ac160
commit
0e9e518736
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ class Thermometer(BottomDial):
|
|||
cr.set_line_width(6.0)
|
||||
|
||||
level = self.min_value
|
||||
incr = math.ceil((self.max_value - self.min_value) / 9)
|
||||
incr = math.ceil((self.max_value - self.min_value) / 9.0)
|
||||
|
||||
while level <= self.max_value:
|
||||
if level >= self.WARN_VALUE:
|
||||
|
|
Loading…
Add table
Reference in a new issue