summaryrefslogtreecommitdiffstats
path: root/glucometerutils/drivers/td4277.py
diff options
context:
space:
mode:
Diffstat (limited to 'glucometerutils/drivers/td4277.py')
-rw-r--r--glucometerutils/drivers/td4277.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/glucometerutils/drivers/td4277.py b/glucometerutils/drivers/td4277.py
index ff04e31..ecbd2ed 100644
--- a/glucometerutils/drivers/td4277.py
+++ b/glucometerutils/drivers/td4277.py
@@ -75,7 +75,9 @@ _MODEL_STRUCT = construct.Struct(
)
_DATETIME_STRUCT = construct.Struct(
- day=construct.Int16ul, minute=construct.Byte, hour=construct.Byte,
+ day=construct.Int16ul,
+ minute=construct.Byte,
+ hour=construct.Byte,
)
_DAY_BITSTRUCT = construct.BitStruct(
@@ -85,11 +87,13 @@ _DAY_BITSTRUCT = construct.BitStruct(
)
_READING_COUNT_STRUCT = construct.Struct(
- count=construct.Int16ul, unknown=construct.Int16ul,
+ count=construct.Int16ul,
+ unknown=construct.Int16ul,
)
_READING_SELECTION_STRUCT = construct.Struct(
- record_id=construct.Int16ul, const=construct.Const(b"\x00\x00"),
+ record_id=construct.Int16ul,
+ const=construct.Const(b"\x00\x00"),
)
_MEAL_FLAG = {