modifié: superTornado.py
This commit is contained in:
parent
d7844b17d9
commit
1e23a49b28
@ -161,16 +161,16 @@ if __name__ == "__main__":
|
|||||||
portCamera = config.portCamera()
|
portCamera = config.portCamera()
|
||||||
portServ = config.portServ()
|
portServ = config.portServ()
|
||||||
if blind == "error" :
|
if blind == "error" :
|
||||||
raise BlindConfigurationERROR("l")
|
raise BlindERROR("l")
|
||||||
if ipCamera == "error" :
|
if ipCamera == "error" :
|
||||||
raise IPCameraConfigurationERROR("b")
|
raise IPCameraERROR("b")
|
||||||
if portCamera == "error" :
|
if portCamera == "error" :
|
||||||
raise PortCameraConfigurationERROR("c")
|
raise PortCamERROR("c")
|
||||||
if portServ == "error" :
|
if portServ == "error" :
|
||||||
raise PortServConfigurationERROR("e")
|
raise PortServERROR("e")
|
||||||
except Exception as e :
|
except Exception as e :
|
||||||
print bcolors.FAIL
|
print bcolors.FAIL
|
||||||
raise
|
print e
|
||||||
print "Configuration Loading Failed ! Check Configuration File !" + bcolors.ENDC
|
print "Configuration Loading Failed ! Check Configuration File !" + bcolors.ENDC
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
print "->Configuration Server Load Successfully :"
|
print "->Configuration Server Load Successfully :"
|
||||||
|
Reference in New Issue
Block a user