##// 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
7 lines | 199 B | text/x-python | PythonLexer
"""Utilities for converting notebooks to and from different formats."""
from .exporters import *
from . import filters
from . import preprocessors
from . import postprocessors
from . import writers