summaryrefslogtreecommitdiffstats
path: root/glucometerutils
diff options
context:
space:
mode:
authorLeonard Lausen <leonard@lausen.nl>2017-10-01 16:12:29 +0200
committerDiego Elio Pettenò <flameeyes@flameeyes.eu>2017-10-01 17:41:37 +0200
commit25fc442ec5a9b794921b12e8435f301012cd3e53 (patch)
tree15549dbb8141f1a206439a622206894de2044b06 /glucometerutils
parentglucometer.py: add --with-ketone option to the dump action (diff)
downloadglucometerutils-25fc442ec5a9b794921b12e8435f301012cd3e53.tar
glucometerutils-25fc442ec5a9b794921b12e8435f301012cd3e53.tar.gz
glucometerutils-25fc442ec5a9b794921b12e8435f301012cd3e53.tar.bz2
glucometerutils-25fc442ec5a9b794921b12e8435f301012cd3e53.tar.lz
glucometerutils-25fc442ec5a9b794921b12e8435f301012cd3e53.tar.xz
glucometerutils-25fc442ec5a9b794921b12e8435f301012cd3e53.tar.zst
glucometerutils-25fc442ec5a9b794921b12e8435f301012cd3e53.zip
Diffstat (limited to 'glucometerutils')
-rw-r--r--glucometerutils/drivers/fsprecisionneo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glucometerutils/drivers/fsprecisionneo.py b/glucometerutils/drivers/fsprecisionneo.py
index 89c80d9..d036259 100644
--- a/glucometerutils/drivers/fsprecisionneo.py
+++ b/glucometerutils/drivers/fsprecisionneo.py
@@ -82,7 +82,7 @@ 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]
- raw_reading = _NeoReading._make(values[:len(_NeoReading._fields])
+ raw_reading = _NeoReading._make(values[:len(_NeoReading._fields)])
timestamp = datetime.datetime(
raw_reading.year + 2000, raw_reading.month, raw_reading.day,