websocket: fix exception statement introduced by comment 903e3f06ee557

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
This commit is contained in:
Alon Bar-Lev 2013-10-15 19:03:33 +03:00
parent 4459824cc8
commit 1f798214de
1 changed files with 1 additions and 1 deletions

View File

@ -718,7 +718,7 @@ Sec-WebSocket-Accept: %s\r
self.ws_connection = True
self.new_client()
except self.CClose, WebSocketServer.Terminate:
except self.CClose:
# Close the client
_, exc, _ = sys.exc_info()
if self.client: