Use super() to call super "__init__()"

This commit is contained in:
dinever 2015-12-08 00:37:43 -05:00
parent 35448d870c
commit f9741732f0
1 changed files with 1 additions and 1 deletions

View File

@ -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):