summaryrefslogtreecommitdiffstats
path: root/glucometerutils
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.eu>2013-12-08 00:53:27 +0100
committerDiego Elio Pettenò <flameeyes@flameeyes.eu>2013-12-08 00:53:27 +0100
commite95befcc1c7ddd707639946b220b367089d9ec19 (patch)
tree7c31fb8e543185f6dabf0a083bed4748944f35e7 /glucometerutils
parentAdd a new command to dump the identification of the glucometer. (diff)
downloadglucometerutils-e95befcc1c7ddd707639946b220b367089d9ec19.tar
glucometerutils-e95befcc1c7ddd707639946b220b367089d9ec19.tar.gz
glucometerutils-e95befcc1c7ddd707639946b220b367089d9ec19.tar.bz2
glucometerutils-e95befcc1c7ddd707639946b220b367089d9ec19.tar.lz
glucometerutils-e95befcc1c7ddd707639946b220b367089d9ec19.tar.xz
glucometerutils-e95befcc1c7ddd707639946b220b367089d9ec19.tar.zst
glucometerutils-e95befcc1c7ddd707639946b220b367089d9ec19.zip
Diffstat (limited to 'glucometerutils')
-rw-r--r--glucometerutils/drivers/otultra2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glucometerutils/drivers/otultra2.py b/glucometerutils/drivers/otultra2.py
index 4f275ba..500ce17 100644
--- a/glucometerutils/drivers/otultra2.py
+++ b/glucometerutils/drivers/otultra2.py
@@ -110,7 +110,7 @@ class Device(object):
response = self._send_oneliner_command('DM?')
if response[0] != '?':
- raise InvalidResponse(response)
+ raise exceptions.InvalidResponse(response)
return response[1:]