##// END OF EJS Templates
Set kernel_id before checking websocket...
Set kernel_id before checking websocket If websocket attempt fails and cross origin attempt is detected, a HTTPError(404) error is raised. However, in the process of closing connections because of this 404 error, an unhandled Attribute exception (kernel_id not an attribute) is raised. Setting the kernel_id first avoids this.

File last commit:

r415:4a5dcb15
r17010:30f006db
Show More
__init__.py
5 lines | 105 B | text/x-python | PythonLexer
"""
This package contains all third-party modules bundled with IPython.
"""
__all__ = ["simplegeneric"]