Fix IOLoop reference

This commit is contained in:
Correl Roush 2024-02-22 15:14:04 +00:00
parent 8303394ced
commit 187c83b6f7
1 changed files with 1 additions and 1 deletions

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