summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--glucometerutils/drivers/otverio2015.py3
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(