Fix: don't use crayons for colorblind.

This commit is contained in:
Gasper Zejn
2018-04-20 20:29:21 +02:00
parent 33945de1eb
commit 7423d235c6
+2 -2
View File
@@ -28,8 +28,8 @@ if os.name != 'nt':
BAR_EMPTY_CHAR = str(crayons.black('-'))
else:
if PIPENV_COLORBLIND:
BAR_FILLED_CHAR = str(crayons.white('', bold=True))
BAR_EMPTY_CHAR = str(crayons.black(''))
BAR_FILLED_CHAR = ''
BAR_EMPTY_CHAR = ' '
else:
BAR_FILLED_CHAR = str(crayons.green('', bold=True))
BAR_EMPTY_CHAR = str(crayons.black(''))