Skip to content

Commit 6455531

Browse files
committed
fix: Return packet data with trailing \x00 in process_response_packet
1 parent a96c4f5 commit 6455531

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pybfbc2stats/client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ def process_response_packet(packet: Packet) -> Tuple[bytes, bool]:
664664
return data, False
665665

666666
# Single packet response => return body as is
667-
return packet.body, True
667+
return packet.get_data(), True
668668

669669
@staticmethod
670670
def format_search_response(parsed_response: List[dict], metadata: List[bytes]) -> dict:

0 commit comments

Comments
 (0)