Fixed bug with how configs are merged
This commit is contained in:
parent
3b138bba1e
commit
24b232138f
@ -48,7 +48,8 @@ class Slate():
|
|||||||
self.verify = False
|
self.verify = False
|
||||||
|
|
||||||
def load_config(self, filename, name):
|
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)
|
print('[i] Merged Configs: ', stack)
|
||||||
self._config = copy.deepcopy(config)
|
self._config = copy.deepcopy(config)
|
||||||
self.consume(config, 'vars', {})
|
self.consume(config, 'vars', {})
|
||||||
|
Loading…
Reference in New Issue
Block a user