modifié: superTornado.py

This commit is contained in:
sidya82 2014-03-03 00:45:21 +01:00
parent 4397ac8322
commit 1f746ecc2b
1 changed files with 2 additions and 3 deletions

View File

@ -154,7 +154,7 @@ application = tornado.web.Application([
cookie_secret="1213215656")
if __name__ == "__main__":
print "->Loading configuration ... "
print bcolors.HEADER + "HEADER->Loading configuration ... " + bcolors.ENDC
try :
blind = config.isBlind()
ipCamera = config.ipCamera()
@ -169,8 +169,7 @@ if __name__ == "__main__":
if portServ == "error" :
raise ConfigError("Failed Load Port Server Configuration")
except ConfigError as e :
print bcolors.FAIL
print e.value
print bcolors.FAIL + e.value
print "Configuration Loading Failed ! Check Configuration File !" + bcolors.ENDC
sys.exit(1)
print "->Configuration Server Load Successfully :"