From f9741732f00f9b7a2f0f424532591902f93a1cfc Mon Sep 17 00:00:00 2001 From: dinever Date: Tue, 8 Dec 2015 00:37:43 -0500 Subject: [PATCH] Use super() to call super "__init__()" --- demos/websocket/chatdemo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):