mirror of
https://github.com/jupyter/notebook.git
synced 2025-02-11 12:30:51 +08:00
Merge pull request #6820 from takluyver/terminals-tornado-3
Fix terminals with Tornado 3
This commit is contained in:
commit
1281319cc9
@ -33,6 +33,10 @@ class TermSocket(terminado.TermSocket, IPythonHandler):
|
||||
if tornado.version_info >= (4,):
|
||||
return super(TermSocket, self).get(*args, **kwargs)
|
||||
|
||||
def clear_cookie(self, *args, **kwargs):
|
||||
"""meaningless for websockets"""
|
||||
pass
|
||||
|
||||
def open(self, *args, **kwargs):
|
||||
if tornado.version_info < (4,):
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user