From 24b232138fd4474d2b1d2296a97d400c5bbce605 Mon Sep 17 00:00:00 2001 From: Dominik Roth Date: Fri, 16 Aug 2024 12:54:29 +0200 Subject: [PATCH] Fixed bug with how configs are merged --- slate/slate.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/slate/slate.py b/slate/slate.py index 8be814f..294faf7 100644 --- a/slate/slate.py +++ b/slate/slate.py @@ -48,7 +48,8 @@ class Slate(): self.verify = False def load_config(self, filename, name): - config, stack = self._load_config(filename, name) + emptyStack = [] + config, stack = self._load_config(filename, name, stack=emptyStack) print('[i] Merged Configs: ', stack) self._config = copy.deepcopy(config) self.consume(config, 'vars', {})