Files
PhotonVision/Python/Main.py

14 lines
405 B
Python
Raw Normal View History

2019-03-01 20:16:04 +02:00
# import WebSiteHandler
import tornado.ioloop
from app.Chameleon_Vision_App import ChameleonApplication
from tornado.options import options
2019-03-01 18:44:08 +02:00
if __name__ == "__main__":
2019-03-01 20:16:04 +02:00
# WebSiteHandler.run_all()
tornado.options.parse_command_line()
app = ChameleonApplication()
print(f"Serving on port {options.port}")
app.listen(options.port)
tornado.ioloop.IOLoop.current().start()