crytowhois/run.py
2012-09-22 20:47:32 +02:00

9 lines
232 B
Python

from tornado.wsgi import WSGIContainer
from tornado.httpserver import HTTPServer
from tornado.ioloop import IOLoop
from app import app
http_server = HTTPServer(WSGIContainer(app))
http_server.listen(1234)
IOLoop.instance().start()