Made the columns be read as flotas, instead of ints. Fixed auto-resetting
This commit is contained in:
+1
-1
@@ -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]
|
||||||
|
|||||||
Reference in New Issue
Block a user