diff options
Diffstat (limited to '')
-rw-r--r-- | glucometerutils/support/freestyle.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/glucometerutils/support/freestyle.py b/glucometerutils/support/freestyle.py index 3c337f6..5b441ff 100644 --- a/glucometerutils/support/freestyle.py +++ b/glucometerutils/support/freestyle.py @@ -275,6 +275,10 @@ class FreeStyleHidDevice(hiddevice.HidDevice): in the record file. """ message = self._send_text_command(command) + logging.debug('Received multirecord message:\n%s', message) + if message == "Log Empty\r\n": + return () + match = _MULTIRECORDS_FORMAT.search(message) if not match: raise exceptions.InvalidResponse(message) |