summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas@sandberg.pp.se>2019-05-19 20:51:45 +0200
committerDiego Elio Pettenò <flameeyes@flameeyes.com>2019-05-19 21:49:32 +0200
commit610e3197cc97ecdfcadc0c31af6591e72242ff8c (patch)
treecb920aa7d09bcd813e81fdcda19ce901c1b32d86
parentfsprecisionneo: Scale ketone readings to mmol/l (diff)
downloadglucometerutils-610e3197cc97ecdfcadc0c31af6591e72242ff8c.tar
glucometerutils-610e3197cc97ecdfcadc0c31af6591e72242ff8c.tar.gz
glucometerutils-610e3197cc97ecdfcadc0c31af6591e72242ff8c.tar.bz2
glucometerutils-610e3197cc97ecdfcadc0c31af6591e72242ff8c.tar.lz
glucometerutils-610e3197cc97ecdfcadc0c31af6591e72242ff8c.tar.xz
glucometerutils-610e3197cc97ecdfcadc0c31af6591e72242ff8c.tar.zst
glucometerutils-610e3197cc97ecdfcadc0c31af6591e72242ff8c.zip
-rw-r--r--glucometerutils/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glucometerutils/common.py b/glucometerutils/common.py
index f549087..726cdb2 100644
--- a/glucometerutils/common.py
+++ b/glucometerutils/common.py
@@ -95,7 +95,7 @@ class KetoneReading:
del unit # Unused for Ketone readings.
return '"%s","%.2f","%s","%s"' % (
- self.timestamp, self.value, MeasurementMethod.BLOOD_SAMPLE,
+ self.timestamp, self.value, MeasurementMethod.BLOOD_SAMPLE.value,
self.comment)
@attr.s