diff options
author | Wesley T. Honeycutt <wessubba8888@yahoo.com> | 2018-05-23 00:35:46 +0200 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@flameeyes.com> | 2018-05-23 00:36:45 +0200 |
commit | 7b000e080a553a66d72b561887bdcec55ddd5ce9 (patch) | |
tree | 4560d990dc07496dd14364252de05935e15aae81 | |
parent | Fix for non-integer errors (diff) | |
download | glucometerutils-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.py | 2 |
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)]) |