modifié: m/log.py
modifié: superTornado.py
This commit is contained in:
parent
f95ac3f622
commit
6d82f76b7e
4
m/log.py
4
m/log.py
@ -44,8 +44,8 @@ class Log(object):
|
|||||||
print bcolors.ENDC,
|
print bcolors.ENDC,
|
||||||
|
|
||||||
class bcolors:
|
class bcolors:
|
||||||
DEBUG = '\033[95m'
|
DEBUG = '\033[94m'
|
||||||
INFO = '\033[94m'
|
INFO = '\033[95m'
|
||||||
SUCCESS = '\033[92m'
|
SUCCESS = '\033[92m'
|
||||||
WARNING = '\033[93m'
|
WARNING = '\033[93m'
|
||||||
FAIL = '\033[91m'
|
FAIL = '\033[91m'
|
||||||
|
@ -172,14 +172,14 @@ if __name__ == "__main__":
|
|||||||
log.printL(e.value, 40)
|
log.printL(e.value, 40)
|
||||||
log.printL("Configuration Loading Failed ! Check Configuration File !", 40)
|
log.printL("Configuration Loading Failed ! Check Configuration File !", 40)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
print log.printL("->Configuration Server Load Successfully :", 25)
|
print log.printL("->Configuration Server Load Successfully ", 25)
|
||||||
if blind == True:
|
if blind == True:
|
||||||
log.printL(" ->Blind unhabitant", 20)
|
log.printL(" ->Blind unhabitant", 25)
|
||||||
else :
|
else :
|
||||||
log.printL(" ->Not blind unhabitant",20)
|
log.printL(" ->Not blind unhabitant",25)
|
||||||
log.printL(" ->Ip camera : " + ipCamera,20)
|
log.printL(" ->Ip camera : " + ipCamera,20)
|
||||||
log.printL(" ->Port Camera : " + portCamera,20)
|
log.printL(" ->Port Camera : " + portCamera,25)
|
||||||
log.printL(" ->Port Server : " + portServ,20)
|
log.printL(" ->Port Server : " + portServ,25)
|
||||||
|
|
||||||
try :
|
try :
|
||||||
log.printL("->Server Start ...",20)
|
log.printL("->Server Start ...",20)
|
||||||
|
Reference in New Issue
Block a user