Merge pull request #159 from timofurrer/colorblind

Verify if PIPENV_COLORBLIND env variable is set to 1
This commit is contained in:
Nate Prewitt
2017-01-30 08:05:48 -07:00
committed by GitHub
+1 -1
View File
@@ -37,7 +37,7 @@ else:
click_completion.init()
# No color mode, for unfun people.
if 'PIPENV_COLORBLIND' in os.environ:
if os.environ.get('PIPENV_COLORBLIND') == '1':
crayons.disable()
# Disable warnings for Python 2.6.