mirror of
https://github.com/JoelBender/bacpypes
synced 2025-09-28 22:15:23 +08:00
Merge branch 'issue-6' of https://github.com/ChristianTremblay/bacpypes into ChristianTremblay-issue-6
This commit is contained in:
commit
2f6d7170c3
|
@ -141,7 +141,7 @@ class UDPMultiplexer:
|
|||
return
|
||||
|
||||
# extract the first octet
|
||||
msg_type = struct.unpack('b', pdu.pduData[:1])[0]
|
||||
msg_type = (pdu.pduData)[0]
|
||||
|
||||
# check for the message type
|
||||
if msg_type == 0x01:
|
||||
|
|
Loading…
Reference in New Issue
Block a user