syncplay/syncplayServer.py

12 lines
333 B
Python
Raw Normal View History

2012-10-12 16:37:12 +00:00
#coding:utf8
from twisted.internet import reactor
from syncplay.server import SyncFactory
from syncplay.ui.ConfigurationGetter import ServerConfigurationGetter
argsGetter = ServerConfigurationGetter()
args = argsGetter.getConfiguration()
reactor.listenTCP(args.port, SyncFactory(args.password, args.isolate_rooms))
reactor.run()