From 2b94609ab03370c2c7916677253e1c076ac7a9a7 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 25 Oct 2024 14:54:55 -1000 Subject: [PATCH] Revert "call unbound method" This reverts commit 521820dbbf60dae8b9487689ec5b0c21b093e5f7. --- aiohttp/_websocket.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aiohttp/_websocket.pyx b/aiohttp/_websocket.pyx index 6671f1e127c..6433c8fcfc5 100644 --- a/aiohttp/_websocket.pyx +++ b/aiohttp/_websocket.pyx @@ -213,11 +213,11 @@ cdef class WebSocketReaderBaseCython: chunk_len = buf_length - start_pos if length >= chunk_len: self._payload_length = length - chunk_len - payload.extend(buf[start_pos:]) + payload += buf[start_pos:] start_pos = buf_length else: self._payload_length = 0 - payload.extend(buf[start_pos : start_pos + length]) + payload += buf[start_pos : start_pos + length] start_pos = start_pos + length if self._payload_length != 0: