diff options
-rw-r--r-- | glucometerutils/drivers/fsprecisionneo.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/glucometerutils/drivers/fsprecisionneo.py b/glucometerutils/drivers/fsprecisionneo.py index cb58263..296c943 100644 --- a/glucometerutils/drivers/fsprecisionneo.py +++ b/glucometerutils/drivers/fsprecisionneo.py @@ -81,7 +81,11 @@ class Device(freestyle.FreeStyleHidDevice): # Build a _reading object by parsing each of the entries in the raw # record - values = [int(v) for v in record] + values = [] + for v in record: + if v == "HI": + v = 999 + values.append(int(v)) raw_reading = _NeoReading._make(values[:len(_NeoReading._fields)]) timestamp = datetime.datetime( |