Fixed closing tag order for colours

This commit is contained in:
Sajeeb Lohani
2018-12-06 16:31:14 +11:00
committed by GitHub
parent 6e90b710fd
commit 9fef89e389

View File

@@ -28,7 +28,7 @@ class OutputHelper(object):
formatting = {
0: Color('{autoblue}[VERBOSE]{/autoblue}'),
1: Color('{autogreen}[THREAD]{/autogreen}'),
3: Color('{autobgyellow}{autored}[ERROR]{/autobgyellow}{/autored}')
3: Color('{autobgyellow}{autored}[ERROR]{/autored}{/autobgyellow}')
}
leader = formatting.get(level, '[#]')
@@ -51,4 +51,4 @@ class OutputHelper(object):
class Level(IntEnum):
VERBOSE = 0
THREAD = 1
ERROR = 3
ERROR = 3