summaryrefslogtreecommitdiffstats
path: root/glucometerutils/drivers/otverioiq.py
diff options
context:
space:
mode:
Diffstat (limited to 'glucometerutils/drivers/otverioiq.py')
-rw-r--r--glucometerutils/drivers/otverioiq.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/glucometerutils/drivers/otverioiq.py b/glucometerutils/drivers/otverioiq.py
index 617c778..a5a7553 100644
--- a/glucometerutils/drivers/otverioiq.py
+++ b/glucometerutils/drivers/otverioiq.py
@@ -42,7 +42,8 @@ _VERSION_RESPONSE = construct.Struct(
_SERIAL_NUMBER_REQUEST = construct.Const(b"\x03\x0b\x01\x02")
_SERIAL_NUMBER_RESPONSE = construct.Struct(
- success=_COMMAND_SUCCESS, serial_number=construct.CString(encoding="ascii"),
+ success=_COMMAND_SUCCESS,
+ serial_number=construct.CString(encoding="ascii"),
)
_READ_RTC_REQUEST = construct.Const(b"\x03\x20\x02")
@@ -71,11 +72,13 @@ _MEMORY_ERASE_REQUEST = construct.Const(b"\x03\x1a")
_READ_RECORD_COUNT_REQUEST = construct.Const(b"\x03\x27\x00")
_READ_RECORD_COUNT_RESPONSE = construct.Struct(
- success=_COMMAND_SUCCESS, count=construct.Int16ul,
+ success=_COMMAND_SUCCESS,
+ count=construct.Int16ul,
)
_READ_RECORD_REQUEST = construct.Struct(
- const=construct.Const(b"\x03\x21"), record_id=construct.Int16ul,
+ const=construct.Const(b"\x03\x21"),
+ record_id=construct.Int16ul,
)
_MEAL_FLAG = {