Explorar el Código

Fix missing 'auth' default section.

Aurelien hace 5 años
padre
commit
3236052c90
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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'):