##// END OF EJS Templates
Fix terminals with Tornado 3...
Thomas Kluyver -
Show More
@@ -33,6 +33,10 b' class TermSocket(terminado.TermSocket, IPythonHandler):'
33 if tornado.version_info >= (4,):
33 if tornado.version_info >= (4,):
34 return super(TermSocket, self).get(*args, **kwargs)
34 return super(TermSocket, self).get(*args, **kwargs)
35
35
36 def clear_cookie(self, *args, **kwargs):
37 """meaningless for websockets"""
38 pass
39
36 def open(self, *args, **kwargs):
40 def open(self, *args, **kwargs):
37 if tornado.version_info < (4,):
41 if tornado.version_info < (4,):
38 try:
42 try:
General Comments 0
You need to be logged in to leave comments. Login now