Skip to content

Commit f01c6cb

Browse files
committed
fixed problem with 'binary' parameter to send() method in WebSocketPlugin.broadcast()
1 parent f7321af commit f01c6cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ws4py/server/cherrypyserver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def broadcast(self, message, binary=False):
339339
"""
340340
for ws_handler in self.pool:
341341
try:
342-
ws_handler.send(message, message.is_binary)
342+
ws_handler.send(message, binary)
343343
except:
344344
cherrypy.log(traceback=True)
345345

0 commit comments

Comments
 (0)