diff options
author | ONO,Tetsuo <toono@g-plains.net> | 2021-09-15 04:13:33 +0200 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@flameeyes.com> | 2021-09-18 18:45:25 +0200 |
commit | 4396e371b3ca75b8636e88f21b4048c46c8da277 (patch) | |
tree | 740f590d4c1d198327187db04c67d7bcb53c408d | |
parent | pre-commit autoupgrade. (diff) | |
download | glucometerutils-4396e371b3ca75b8636e88f21b4048c46c8da277.tar glucometerutils-4396e371b3ca75b8636e88f21b4048c46c8da277.tar.gz glucometerutils-4396e371b3ca75b8636e88f21b4048c46c8da277.tar.bz2 glucometerutils-4396e371b3ca75b8636e88f21b4048c46c8da277.tar.lz glucometerutils-4396e371b3ca75b8636e88f21b4048c46c8da277.tar.xz glucometerutils-4396e371b3ca75b8636e88f21b4048c46c8da277.tar.zst glucometerutils-4396e371b3ca75b8636e88f21b4048c46c8da277.zip |
-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])) |