diff --git a/demos/websocket/chatdemo.py b/demos/websocket/chatdemo.py index aac24d94..5642f1fd 100755 --- a/demos/websocket/chatdemo.py +++ b/demos/websocket/chatdemo.py @@ -44,7 +44,7 @@ class Application(tornado.web.Application): static_path=os.path.join(os.path.dirname(__file__), "static"), xsrf_cookies=True, ) - tornado.web.Application.__init__(self, handlers, **settings) + super(Application, self).__init__(handlers, **settings) class MainHandler(tornado.web.RequestHandler):