Merge pull request #184 from kived/log-color-fix

fix black text in log
This commit is contained in:
Ryan Pessa 2015-03-07 12:07:01 -06:00
commit 23ecb9709c

View file

@ -41,7 +41,10 @@ try:
RESET_SEQ = colorama.Fore.RESET + colorama.Style.RESET_ALL
COLOR_SEQ = lambda x: x
BOLD_SEQ = ''
BLACK = colorama.Fore.BLACK + colorama.Style.DIM
if sys.platform == 'win32':
BLACK = colorama.Fore.BLACK + colorama.Style.DIM
else:
BLACK = colorama.Fore.BLACK + colorama.Style.BRIGHT
RED = colorama.Fore.RED
BLUE = colorama.Fore.CYAN
USE_COLOR = 'NO_COLOR' not in environ