1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2024-12-04 19:01:33 +00:00

Use IOLoop.current() instead of deprecated instance()

This commit is contained in:
Kristóf Tóth 2019-07-28 21:04:22 +02:00
parent 7698ff430e
commit b032da8983
3 changed files with 3 additions and 3 deletions

View File

@ -34,4 +34,4 @@ if __name__ == '__main__':
application.listen(os.environ['CONTROLLER_PORT'])
setup_signal_handlers()
IOLoop.instance().start()
IOLoop.current().start()

View File

@ -87,7 +87,7 @@ def main():
))
setup_signal_handlers()
IOLoop.instance().start()
IOLoop.current().start()
if __name__ == '__main__':

View File

@ -26,7 +26,7 @@ def main():
))
setup_signal_handlers()
IOLoop.instance().start()
IOLoop.current().start()
if __name__ == '__main__':