modifié: superTornado.py
This commit is contained in:
parent
331f50197a
commit
c450b37f4d
@ -151,7 +151,7 @@ application = tornado.web.Application([
|
|||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
print "->Loading configuration ... "
|
print "->Loading configuration ... "
|
||||||
try :
|
try :
|
||||||
confAveug = config.estAveugle
|
confAveug = config.isBlind
|
||||||
ipCamera = config.ipCamera
|
ipCamera = config.ipCamera
|
||||||
portServ = config.portServ
|
portServ = config.portServ
|
||||||
if confAveug == "error" :
|
if confAveug == "error" :
|
||||||
@ -161,7 +161,7 @@ if __name__ == "__main__":
|
|||||||
if portServ == "error" :
|
if portServ == "error" :
|
||||||
raise "Failed Load Port Server Configuration"
|
raise "Failed Load Port Server Configuration"
|
||||||
except Exception, e :
|
except Exception, e :
|
||||||
print "Configuration Loading Failed ! Check Conf File !"
|
print "Configuration Loading Failed ! Check Configuration File !"
|
||||||
print e
|
print e
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
print "->Configuraion Server Load Successfully:"
|
print "->Configuraion Server Load Successfully:"
|
||||||
|
Reference in New Issue
Block a user