modifié: superTornado.py

This commit is contained in:
sidya82 2014-03-18 21:36:53 +01:00
parent 041136659c
commit 39c23d52b0

View File

@ -252,13 +252,13 @@ application = tornado.web.Application([
if __name__ == "__main__": if __name__ == "__main__":
GlobalVars.log.printL("->Loading configuration ... ",lvl.INFO) GlobalVars.log.printL("->Loading configuration ... ",lvl.INFO)
try : try :
GlobalVars.blind = config.isBlind() GlobalVars.blind = GlobalVars.config.isBlind()
GlobalVars.ipCamera = config.ipCamera() GlobalVars.ipCamera = GlobalVars.config.ipCamera()
GlobalVars.portCamera = config.portCamera() GlobalVars.portCamera = GlobalVars.config.portCamera()
GlobalVars.idCamera = config.idCamera() GlobalVars.idCamera = GlobalVars.config.idCamera()
GlobalVars.endUrlCamera = config.endUrlCamera() GlobalVars.endUrlCamera = GlobalVars.config.endUrlCamera()
GlobalVars.ipServ = config.ipServ() GlobalVars.ipServ = GlobalVars.config.ipServ()
GlobalVars.portServ = config.portServ() GlobalVars.portServ = GlobalVars.config.portServ()
if blind == "error" : if blind == "error" :
raise ConfigError("Failed Load Blind Configuration") raise ConfigError("Failed Load Blind Configuration")