From 7b000e080a553a66d72b561887bdcec55ddd5ce9 Mon Sep 17 00:00:00 2001 From: "Wesley T. Honeycutt" Date: Tue, 22 May 2018 17:35:46 -0500 Subject: change 999 to inf --- glucometerutils/drivers/fsprecisionneo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)]) -- cgit v1.2.3