modifié: m/log.py

modifié:         superTornado.py
This commit is contained in:
sidya82 2014-03-03 13:43:43 +01:00
parent f95ac3f622
commit 6d82f76b7e
2 changed files with 7 additions and 7 deletions

View File

@ -44,8 +44,8 @@ class Log(object):
print bcolors.ENDC,
class bcolors:
DEBUG = '\033[95m'
INFO = '\033[94m'
DEBUG = '\033[94m'
INFO = '\033[95m'
SUCCESS = '\033[92m'
WARNING = '\033[93m'
FAIL = '\033[91m'

View File

@ -172,14 +172,14 @@ if __name__ == "__main__":
log.printL(e.value, 40)
log.printL("Configuration Loading Failed ! Check Configuration File !", 40)
sys.exit(1)
print log.printL("->Configuration Server Load Successfully :", 25)
print log.printL("->Configuration Server Load Successfully ", 25)
if blind == True:
log.printL(" ->Blind unhabitant", 20)
log.printL(" ->Blind unhabitant", 25)
else :
log.printL(" ->Not blind unhabitant",20)
log.printL(" ->Not blind unhabitant",25)
log.printL(" ->Ip camera : " + ipCamera,20)
log.printL(" ->Port Camera : " + portCamera,20)
log.printL(" ->Port Server : " + portServ,20)
log.printL(" ->Port Camera : " + portCamera,25)
log.printL(" ->Port Server : " + portServ,25)
try :
log.printL("->Server Start ...",20)