houdini/bootstrap.py

12 lines
306 B
Python
Raw Normal View History

2019-03-01 19:41:40 +00:00
import asyncio
import sys
from houdini.houdini import HoudiniFactory
2019-03-01 19:41:40 +00:00
if __name__ == '__main__':
if sys.platform == 'win32':
loop = asyncio.ProactorEventLoop()
asyncio.set_event_loop(loop)
factory_instance = HoudiniFactory(server='Login')
asyncio.run(factory_instance.start())