diff options
Diffstat (limited to '')
-rw-r--r-- | glucometerutils/drivers/fsprecisionneo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/glucometerutils/drivers/fsprecisionneo.py b/glucometerutils/drivers/fsprecisionneo.py index b26d58c..ddec9b2 100644 --- a/glucometerutils/drivers/fsprecisionneo.py +++ b/glucometerutils/drivers/fsprecisionneo.py @@ -56,8 +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")) + elif record[idx] == "LO": + setattr(self, field.name, -float("inf")) else: setattr(self, field.name, int(record[idx])) |