summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWesley T. Honeycutt <wessubba8888@yahoo.com>2018-05-23 00:35:46 +0200
committerDiego Elio Pettenò <flameeyes@flameeyes.com>2018-05-23 00:36:45 +0200
commit7b000e080a553a66d72b561887bdcec55ddd5ce9 (patch)
tree4560d990dc07496dd14364252de05935e15aae81
parentFix for non-integer errors (diff)
downloadglucometerutils-7b000e080a553a66d72b561887bdcec55ddd5ce9.tar
glucometerutils-7b000e080a553a66d72b561887bdcec55ddd5ce9.tar.gz
glucometerutils-7b000e080a553a66d72b561887bdcec55ddd5ce9.tar.bz2
glucometerutils-7b000e080a553a66d72b561887bdcec55ddd5ce9.tar.lz
glucometerutils-7b000e080a553a66d72b561887bdcec55ddd5ce9.tar.xz
glucometerutils-7b000e080a553a66d72b561887bdcec55ddd5ce9.tar.zst
glucometerutils-7b000e080a553a66d72b561887bdcec55ddd5ce9.zip
-rw-r--r--glucometerutils/drivers/fsprecisionneo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glucometerutils/drivers/fsprecisionneo.py b/glucometerutils/drivers/fsprecisionneo.py
index 296c943..1153908 100644
--- a/glucometerutils/drivers/fsprecisionneo.py
+++ b/glucometerutils/drivers/fsprecisionneo.py
@@ -84,7 +84,7 @@ class Device(freestyle.FreeStyleHidDevice):
values = []
for v in record:
if v == "HI":
- v = 999
+ v = float("inf")
values.append(int(v))
raw_reading = _NeoReading._make(values[:len(_NeoReading._fields)])