Fix color configuration directive

This commit is contained in:
Theo Brigitte 2024-08-05 16:38:49 +02:00
commit 37735e464c
No known key found for this signature in database
GPG key ID: 62A81E0F3445587C

View file

@ -38,7 +38,7 @@ def should_do_markup(no_color, configs):
if no_color:
return False
if any(config.get('output', {}).get('color') is False for config in configs.values()):
if any(config.get('color', True) is False for config in configs.values()):
return False
if os.environ.get('NO_COLOR', None):