modifié: m/loadConf.py

modifié:         superTornado.py
This commit is contained in:
sidya82
2014-03-03 00:34:30 +01:00
parent c0846bff5e
commit 05df02af03
2 changed files with 13 additions and 6 deletions

View File

@ -27,7 +27,11 @@ class LoadConf(object):
def portServ(self) :
return self.loadValue("portServ")
class ConfigError(Exception):
def __init__(self, value):
self.value = value
def __str__(self):
return repr(self.value)
class bcolors:
HEADER = '\033[95m'
@ -44,3 +48,5 @@ class bcolors:
self.WARNING = ''
self.FAIL = ''
self.ENDC = ''