Fix IOLoop reference

This commit is contained in:
Correl Roush 2024-02-22 15:14:04 +00:00
parent 8303394ced
commit 187c83b6f7

View file

@ -460,7 +460,7 @@ class Application(tornado.web.Application):
),
]
)
tornado.ioloop.IOLoop.current().add_callback(self.async_init)
IOLoop.current().add_callback(self.async_init)
super().__init__(paths, **settings)
async def async_init(self):