Skip to content

Commit

Permalink
107 remove error for testing and set header to none
Browse files Browse the repository at this point in the history
  • Loading branch information
panyab committed Mar 8, 2024
1 parent 54a3751 commit bfc740e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EosLib/packet/packet.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def decode(packet_bytes: bytes):
decoded_data_header = decoded_data_header
packet_bytes = packet_bytes[struct.calcsize(DataHeader.data_header_struct_format_string):]
else:
pass
decoded_data_header = None
#raise PacketFormatError(f"Packet does not contain a header. Unexpected packet header: {packet_bytes[0]}, should be: {HeaderPreamble.DATA}")

decoded_packet = Packet(EosLib.format.decode_factory.decode_factory.decode(decoded_data_header.data_type,
Expand Down

0 comments on commit bfc740e

Please sign in to comment.