summaryrefslogtreecommitdiffstats
path: root/glucometer.py
diff options
context:
space:
mode:
Diffstat (limited to 'glucometer.py')
-rwxr-xr-xglucometer.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/glucometer.py b/glucometer.py
index e22ff23..1cb263d 100755
--- a/glucometer.py
+++ b/glucometer.py
@@ -57,7 +57,11 @@ def main():
try:
if args.action == 'info':
- print(device.get_information_string())
+ print(str(device.get_meter_info()).strip())
+ try:
+ print('Time: %s' % device.get_datetime())
+ except NotImplementedError:
+ print('Time: N/A')
elif args.action == 'dump':
unit = args.unit
if unit is None: