modifié: m/fichier/conf
modifié: superTornado.py
This commit is contained in:
parent
1e23a49b28
commit
10da01b1fe
@ -1,5 +1,5 @@
|
|||||||
|
blind=1
|
||||||
camera=192.168.1.13
|
camera=192.168.1.13
|
||||||
|
portCamera=80
|
||||||
portServ=80
|
portServ=80
|
||||||
|
|
||||||
|
@ -168,9 +168,8 @@ if __name__ == "__main__":
|
|||||||
raise PortCamERROR("c")
|
raise PortCamERROR("c")
|
||||||
if portServ == "error" :
|
if portServ == "error" :
|
||||||
raise PortServERROR("e")
|
raise PortServERROR("e")
|
||||||
except Exception as e :
|
except PortServERROR as e :
|
||||||
print bcolors.FAIL
|
print bcolors.FAIL
|
||||||
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