Browse Source

Fix color configuration directive

Theo Brigitte 10 months ago
parent
commit
37735e464c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      borgmatic/logger.py

+ 1 - 1
borgmatic/logger.py

@@ -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):