modifié: superTornado.py
This commit is contained in:
parent
2651fec2c5
commit
de02273a7c
@ -162,11 +162,11 @@ if __name__ == "__main__":
|
|||||||
if blind == "error" :
|
if blind == "error" :
|
||||||
raise BlindConfigurationERROR(bcolors.FAIL +"Failed Load Blind Configuration")
|
raise BlindConfigurationERROR(bcolors.FAIL +"Failed Load Blind Configuration")
|
||||||
if ipCamera == "error" :
|
if ipCamera == "error" :
|
||||||
raise IPCameraConfigurationERROR(bcolors.FAIL +"Failed Load IP Camera Configuration"
|
raise IPCameraConfigurationERROR(bcolors.FAIL +"Failed Load IP Camera Configuration")
|
||||||
if portCamera == "error" :
|
if portCamera == "error" :
|
||||||
raise PortCameraConfigurationERROR(bcolors.FAIL + "Failed Load IP Camera Configuration"
|
raise PortCameraConfigurationERROR(bcolors.FAIL + "Failed Load IP Camera Configuration")
|
||||||
if portServ == "error" :
|
if portServ == "error" :
|
||||||
raise PortServ ConfigurationERROR(bcolors.FAIL + "Failed Load Port Server Configuration"
|
raise PortServ ConfigurationERROR(bcolors.FAIL + "Failed Load Port Server Configuration")
|
||||||
except Exception, e :
|
except Exception, e :
|
||||||
print "Configuration Loading Failed ! Check Configuration File !" + bcolors.ENDC
|
print "Configuration Loading Failed ! Check Configuration File !" + bcolors.ENDC
|
||||||
print bcolors.FAIL + e + bcolors.ENDC
|
print bcolors.FAIL + e + bcolors.ENDC
|
||||||
|
Reference in New Issue
Block a user