Ver código fonte

Fix missing 'auth' default section.

Aurelien 5 anos atrás
pai
commit
3236052c90
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      byrd/cli.py

+ 1 - 0
byrd/cli.py

@@ -24,6 +24,7 @@ def load_cfg(path, prefix=None):
     # Define useful defaults
     cfg.networks = cfg.networks or ObjectDict()
     cfg.tasks = cfg.tasks or ObjectDict()
+    cfg.auth = cfg.auth or ObjectDict()
 
     # Create backrefs between tasks to the local config
     if cfg.get('tasks'):