Use super() to call super "__init__()"
This commit is contained in:
parent
35448d870c
commit
f9741732f0
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue