modifié: m/fichier/conf

modifié:         superTornado.py
This commit is contained in:
sidya82 2014-03-03 00:21:54 +01:00
parent 1e23a49b28
commit 10da01b1fe
2 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,5 @@
blind=1
camera=192.168.1.13
portCamera=80
portServ=80

View File

@ -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 :"