Made the columns be read as flotas, instead of ints. Fixed auto-resetting
This commit is contained in:
parent
58f6af7cde
commit
45b6f57ba6
|
|
@ -40,7 +40,7 @@ def get_curr_points():
|
|||
return [r[0], 0]
|
||||
else:
|
||||
try:
|
||||
v = int(r[1])
|
||||
v = float(r[1])
|
||||
except ValueError:
|
||||
v = 0
|
||||
return [r[0], v]
|
||||
|
|
|
|||
Loading…
Reference in New Issue