summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.eu>2017-01-20 00:23:49 +0100
committerGitHub <noreply@github.com>2017-01-20 00:23:49 +0100
commit233e463fe0269edaf7258f1aa285fc2d8da8c81e (patch)
treeca23fff697fb2a29d4ef71beeaa7e12da9d699c3
parentfreestyle: error out if hidraw device does not exist. (diff)
parentOpen OneTouch Verio devices in readwrite mode by default. (diff)
downloadglucometerutils-233e463fe0269edaf7258f1aa285fc2d8da8c81e.tar
glucometerutils-233e463fe0269edaf7258f1aa285fc2d8da8c81e.tar.gz
glucometerutils-233e463fe0269edaf7258f1aa285fc2d8da8c81e.tar.bz2
glucometerutils-233e463fe0269edaf7258f1aa285fc2d8da8c81e.tar.lz
glucometerutils-233e463fe0269edaf7258f1aa285fc2d8da8c81e.tar.xz
glucometerutils-233e463fe0269edaf7258f1aa285fc2d8da8c81e.tar.zst
glucometerutils-233e463fe0269edaf7258f1aa285fc2d8da8c81e.zip
-rw-r--r--glucometerutils/drivers/otverio2015.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glucometerutils/drivers/otverio2015.py b/glucometerutils/drivers/otverio2015.py
index bcb76d6..80de6ed 100644
--- a/glucometerutils/drivers/otverio2015.py
+++ b/glucometerutils/drivers/otverio2015.py
@@ -100,7 +100,7 @@ def _convert_timestamp(timestamp):
class Device(object):
def __init__(self, device):
self.device_name_ = device
- self.scsi_device_ = SCSIDevice(device)
+ self.scsi_device_ = SCSIDevice(device, readwrite=True)
self.scsi_ = SCSI(self.scsi_device_)
self.scsi_.blocksize = _REGISTER_SIZE