summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRed Daly <reddaly@gmail.com>2017-01-20 00:15:09 +0100
committerRed Daly <reddaly@gmail.com>2017-01-20 00:15:09 +0100
commit9f4e78b8e55d1a0a1fe6d37e6245160510c57616 (patch)
treeca23fff697fb2a29d4ef71beeaa7e12da9d699c3
parentfreestyle: error out if hidraw device does not exist. (diff)
downloadglucometerutils-9f4e78b8e55d1a0a1fe6d37e6245160510c57616.tar
glucometerutils-9f4e78b8e55d1a0a1fe6d37e6245160510c57616.tar.gz
glucometerutils-9f4e78b8e55d1a0a1fe6d37e6245160510c57616.tar.bz2
glucometerutils-9f4e78b8e55d1a0a1fe6d37e6245160510c57616.tar.lz
glucometerutils-9f4e78b8e55d1a0a1fe6d37e6245160510c57616.tar.xz
glucometerutils-9f4e78b8e55d1a0a1fe6d37e6245160510c57616.tar.zst
glucometerutils-9f4e78b8e55d1a0a1fe6d37e6245160510c57616.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