summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.com>2019-09-21 21:46:11 +0200
committerDiego Elio Pettenò <flameeyes@flameeyes.com>2019-09-21 21:46:11 +0200
commite9bc2ad97817f6c28aad0eef01adeb07ec74eefb (patch)
tree5aa8cda6d7b3c593e49651619505e84dc6eb096e
parentOoops remove my duplicate line. (diff)
downloadglucometerutils-e9bc2ad97817f6c28aad0eef01adeb07ec74eefb.tar
glucometerutils-e9bc2ad97817f6c28aad0eef01adeb07ec74eefb.tar.gz
glucometerutils-e9bc2ad97817f6c28aad0eef01adeb07ec74eefb.tar.bz2
glucometerutils-e9bc2ad97817f6c28aad0eef01adeb07ec74eefb.tar.lz
glucometerutils-e9bc2ad97817f6c28aad0eef01adeb07ec74eefb.tar.xz
glucometerutils-e9bc2ad97817f6c28aad0eef01adeb07ec74eefb.tar.zst
glucometerutils-e9bc2ad97817f6c28aad0eef01adeb07ec74eefb.zip
-rw-r--r--glucometerutils/support/freestyle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glucometerutils/support/freestyle.py b/glucometerutils/support/freestyle.py
index 5b441ff..c7dbdb9 100644
--- a/glucometerutils/support/freestyle.py
+++ b/glucometerutils/support/freestyle.py
@@ -277,7 +277,7 @@ class FreeStyleHidDevice(hiddevice.HidDevice):
message = self._send_text_command(command)
logging.debug('Received multirecord message:\n%s', message)
if message == "Log Empty\r\n":
- return ()
+ return iter(())
match = _MULTIRECORDS_FORMAT.search(message)
if not match: