From 612f5bf8524376a9af01f77d43b4e44da04efd4f Mon Sep 17 00:00:00 2001 From: "ONO,Tetsuo" Date: Thu, 16 Sep 2021 21:23:51 +0900 Subject: Update fsprecisionneo.py Fixed syntax (missing space) --- glucometerutils/drivers/fsprecisionneo.py | 4 ++-- 1 file 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])) -- cgit v1.2.3