mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-14 06:27:16 +00:00
12 lines
243 B
Python
12 lines
243 B
Python
from tornado.ioloop import IOLoop
|
|
|
|
from tfw.main import TFWServer, setup_logger, setup_signal_handlers
|
|
|
|
|
|
if __name__ == '__main__':
|
|
setup_logger(__file__)
|
|
TFWServer().listen()
|
|
|
|
setup_signal_handlers()
|
|
IOLoop.instance().start()
|