diff options
author | Diego Elio Pettenò <flameeyes@flameeyes.com> | 2019-09-21 21:46:11 +0200 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@flameeyes.com> | 2019-09-21 21:46:11 +0200 |
commit | e9bc2ad97817f6c28aad0eef01adeb07ec74eefb (patch) | |
tree | 5aa8cda6d7b3c593e49651619505e84dc6eb096e | |
parent | Ooops remove my duplicate line. (diff) | |
download | glucometerutils-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 |
Diffstat (limited to '')
-rw-r--r-- | glucometerutils/support/freestyle.py | 2 |
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: |