From 4819131ff81532c06c5eccc4c70135e72ca3f7c9 Mon Sep 17 00:00:00 2001 From: Arkadiusz Bulski Date: Fri, 16 Feb 2018 08:24:25 +0100 Subject: construct-code is (almost) uptodate --- glucometerutils/support/lifescan_binary_protocol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'glucometerutils/support/lifescan_binary_protocol.py') diff --git a/glucometerutils/support/lifescan_binary_protocol.py b/glucometerutils/support/lifescan_binary_protocol.py index caa9b63..6579ab0 100644 --- a/glucometerutils/support/lifescan_binary_protocol.py +++ b/glucometerutils/support/lifescan_binary_protocol.py @@ -33,7 +33,7 @@ def LifeScanPacket(command_prefix, include_link_control): else: link_control_construct = construct.Const(b'\x00') - command_prefix_construct = construct.Const(construct.Byte, command_prefix) + command_prefix_construct = construct.Const(command_prefix, construct.Byte) return construct.Struct( construct.RawCopy( -- cgit v1.2.3