Browse Source

Fix color configuration directive

Theo Brigitte 10 tháng trước cách đây
mục cha
commit
37735e464c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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):