Skip to content

Commit e566ee3

Browse files
committed
fix non-secure
1 parent 8f9d068 commit e566ee3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ws4py/websocket.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,7 @@ def once(self):
387387
logger.debug("WebSocket is already terminated")
388388
return False
389389
try:
390+
b = b''
390391
if self._is_secure:
391392
b = self._get_from_pending()
392393
if not b and not self.buf:

0 commit comments

Comments
 (0)