baseimage-tutorial-framework/supervisor/tfw_server.py

13 lines
210 B
Python
Raw Normal View History

2019-06-10 13:32:45 +00:00
import logging
2018-06-29 20:53:44 +00:00
from tornado.ioloop import IOLoop
2019-05-27 12:09:13 +00:00
from tfw.server import TFWServer
2018-06-29 20:53:44 +00:00
2019-06-10 13:32:45 +00:00
logging.basicConfig(level=logging.DEBUG)
2018-06-29 20:53:44 +00:00
if __name__ == '__main__':
TFWServer().listen()
2018-06-29 20:53:44 +00:00
IOLoop.instance().start()