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]
|
return [r[0], 0]
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
v = int(r[1])
|
v = float(r[1])
|
||||||
except ValueError:
|
except ValueError:
|
||||||
v = 0
|
v = 0
|
||||||
return [r[0], v]
|
return [r[0], v]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue