mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Fix: don't use crayons for colorblind.
This commit is contained in:
+2
-2
@@ -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('▉'))
|
||||
|
||||
Reference in New Issue
Block a user