websocket: fix exception statement introduced by comment 903e3f06ee557
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
This commit is contained in:
parent
4459824cc8
commit
1f798214de
|
|
@ -718,7 +718,7 @@ Sec-WebSocket-Accept: %s\r
|
||||||
|
|
||||||
self.ws_connection = True
|
self.ws_connection = True
|
||||||
self.new_client()
|
self.new_client()
|
||||||
except self.CClose, WebSocketServer.Terminate:
|
except self.CClose:
|
||||||
# Close the client
|
# Close the client
|
||||||
_, exc, _ = sys.exc_info()
|
_, exc, _ = sys.exc_info()
|
||||||
if self.client:
|
if self.client:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue