summaryrefslogtreecommitdiffstats
path: root/glucometer.py
diff options
context:
space:
mode:
Diffstat (limited to 'glucometer.py')
-rwxr-xr-xglucometer.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/glucometer.py b/glucometer.py
index facd88b..1cd0303 100755
--- a/glucometer.py
+++ b/glucometer.py
@@ -46,7 +46,8 @@ def main():
if args.action == 'dump':
for reading in device.get_readings():
- print('%s,%f' % (reading.timestamp, reading.get_value_as(args.unit)))
+ print('%s,%.2f,%s' % (reading.timestamp, reading.get_value_as(args.unit),
+ reading.comment))
elif args.action == 'datetime':
if args.set == 'now':
print(device.set_datetime())