##// END OF EJS Templates
Fix terminals with Tornado 3...
Thomas Kluyver -
Show More
@@ -32,6 +32,10 b' class TermSocket(terminado.TermSocket, IPythonHandler):'
32 # tornado 3 has no get, will raise 405
32 # tornado 3 has no get, will raise 405
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
36 def clear_cookie(self, *args, **kwargs):
37 """meaningless for websockets"""
38 pass
35
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,):
General Comments 0
You need to be logged in to leave comments. Login now