diff options
-rw-r--r-- | glucometerutils/drivers/fsprecisionneo.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/glucometerutils/drivers/fsprecisionneo.py b/glucometerutils/drivers/fsprecisionneo.py index 8dab52b..b26d58c 100644 --- a/glucometerutils/drivers/fsprecisionneo.py +++ b/glucometerutils/drivers/fsprecisionneo.py @@ -56,6 +56,8 @@ class _NeoReading: for idx, field in enumerate(dataclasses.fields(self)): if record[idx] == "HI": setattr(self, field.name, float("inf")) + elif record[idx] =="LO": + setattr(self,field.name, -float("inf")) else: setattr(self, field.name, int(record[idx])) |