summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--glucometerutils/support/freestyle.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/glucometerutils/support/freestyle.py b/glucometerutils/support/freestyle.py
index 0e71c03..d722c35 100644
--- a/glucometerutils/support/freestyle.py
+++ b/glucometerutils/support/freestyle.py
@@ -13,6 +13,7 @@ __license__ = 'MIT'
import csv
import datetime
+import logging
import re
import struct
@@ -221,4 +222,6 @@ class FreeStyleHidDevice(hiddevice.HidDevice):
records_str = match.group('message')
_verify_checksum(records_str, match.group('checksum'))
+ logging.debug('Received multi-record string: %s', records_str)
+
return csv.reader(records_str.split('\r\n'))