mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Merge pull request #159 from timofurrer/colorblind
Verify if PIPENV_COLORBLIND env variable is set to 1
This commit is contained in:
+1
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user