##// 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:

r13347:54891794
r17010:30f006db
Show More
__init__.py
4 lines | 91 B | text/x-python | PythonLexer
try:
from simplegeneric import *
except ImportError:
from ._simplegeneric import *