diff options
author | Arkadiusz Bulski <arek.bulski@gmail.com> | 2018-03-07 02:02:55 +0100 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@flameeyes.eu> | 2018-03-17 14:41:40 +0100 |
commit | 8287a1bd710e1d4a37ca5a3921ed2349befb404d (patch) | |
tree | d29082d606900e69337ad64fbfdf5f99db2005dc | |
parent | SymmetricMapping was renamed to Mapping (diff) | |
download | glucometerutils-8287a1bd710e1d4a37ca5a3921ed2349befb404d.tar glucometerutils-8287a1bd710e1d4a37ca5a3921ed2349befb404d.tar.gz glucometerutils-8287a1bd710e1d4a37ca5a3921ed2349befb404d.tar.bz2 glucometerutils-8287a1bd710e1d4a37ca5a3921ed2349befb404d.tar.lz glucometerutils-8287a1bd710e1d4a37ca5a3921ed2349befb404d.tar.xz glucometerutils-8287a1bd710e1d4a37ca5a3921ed2349befb404d.tar.zst glucometerutils-8287a1bd710e1d4a37ca5a3921ed2349befb404d.zip |
-rw-r--r-- | glucometerutils/drivers/otverio2015.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/glucometerutils/drivers/otverio2015.py b/glucometerutils/drivers/otverio2015.py index 1fe630a..a7cadf5 100644 --- a/glucometerutils/drivers/otverio2015.py +++ b/glucometerutils/drivers/otverio2015.py @@ -53,8 +53,7 @@ _QUERY_REQUEST = construct.Struct( _QUERY_RESPONSE = construct.Struct( lifescan_binary_protocol.COMMAND_SUCCESS, - # This should be an UTF-16L CString, but construct does not support it. - 'value' / construct.GreedyString(encoding='utf-16-le'), + 'value' / construct.CString(encoding='utf-16-le'), ) _READ_PARAMETER_REQUEST = construct.Struct( |