parent
1e23a49b28
commit
10da01b1fe
|
@ -1,5 +1,5 @@
|
|||
|
||||
blind=1
|
||||
camera=192.168.1.13
|
||||
|
||||
portCamera=80
|
||||
portServ=80
|
||||
|
||||
|
|
|
@ -168,9 +168,8 @@ if __name__ == "__main__":
|
|||
raise PortCamERROR("c")
|
||||
if portServ == "error" :
|
||||
raise PortServERROR("e")
|
||||
except Exception as e :
|
||||
except PortServERROR as e :
|
||||
print bcolors.FAIL
|
||||
print e
|
||||
print "Configuration Loading Failed ! Check Configuration File !" + bcolors.ENDC
|
||||
sys.exit(1)
|
||||
print "->Configuration Server Load Successfully :"
|
||||
|
|
Reference in New Issue