Revision 87565d2c
b/kamaki/cli/__init__.py | ||
---|---|---|
197 | 197 |
_verbose = arguments['verbose'].value |
198 | 198 |
global _colors |
199 | 199 |
_colors = arguments['config'].get('global', 'colors') |
200 |
if _colors != 'on':
|
|
200 |
if not (stdout.isatty() and _colors == 'on'):
|
|
201 | 201 |
from kamaki.cli.utils import remove_colors |
202 | 202 |
remove_colors() |
203 | 203 |
_silent = arguments['silent'].value |
Also available in: Unified diff