From 610e3197cc97ecdfcadc0c31af6591e72242ff8c Mon Sep 17 00:00:00 2001 From: Andreas Sandberg Date: Sun, 19 May 2019 19:51:45 +0100 Subject: common: Correctly show ketone sample type in csv --- glucometerutils/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3